문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top