我有 ABCPDF 版本 9,使用 MSIE 将 HTML 页面正确转换为 3 页 PDF,但是在使用 Gecko 的第一页之后,相同的代码会被截断。相关代码为:
var pageRef = theDoc.AddImageUrl(uri, true, 1200, true);
while (theDoc.Chainable(pageRef))
{
theDoc.Page = theDoc.AddPage();
pageRef = theDoc.AddImageToChain(pageRef);
}
在调试模式下,当渲染引擎为 MSIE 时,theDoc.Chainable(pageRef) 返回 true,但在渲染引擎为 Gecko 时返回 false。
纠正此问题的建议?