ABCPDF v9 chainable not working with Gecko

757 views Asked by At

I have ABCPDF version 9 converting an HTML page to a 3 page PDF correctly with MSIE, but the same code truncates after the first page with Gecko. The relevant code is:

var pageRef = theDoc.AddImageUrl(uri, true, 1200, true);
while (theDoc.Chainable(pageRef))
{
    theDoc.Page = theDoc.AddPage();
    pageRef = theDoc.AddImageToChain(pageRef);
}

In debug mode, theDoc.Chainable(pageRef) returns true when the rendering engine is MSIE, but false when the rendering engine is Gecko.

Suggestions for correcting this?

1

There are 1 answers

0
Davy Lowyck On BEST ANSWER

We had the same problem, and went looking for the specific HTML that was causing the issue. In our case it was the fact that the content that spanned several pages was in a fieldset tag We just swapped the fieldset tag for a div tag.