Websupergoo abcpdf is very slow when generate large pdf from HTML or URL
Doc theDoc = new Doc();
theDoc.Page = theDoc.AddPage();
int theID;
theDoc.HtmlOptions.UseScript = false;
theDoc.HtmlOptions.DoMarkup = false;
theID = theDoc.AddImageHtml(html);
while (true)
{
theDoc.FrameRect(); // add a black border
if (!theDoc.Chainable(theID))
break;
theDoc.Page = theDoc.AddPage();
theID = theDoc.AddImageToChain(theID);
}
AddImageHtml is very slow, the pdf is 16 pages.
Any idea how can I improve the performance?
By the way I tried to Use 'AddImageUrl' but that is slow as well.
Note: I am using ABCpdf8.
Update: here is html sample to be converted to pdf
Thanks in advance