Hi,
We are evaluating your product to print plain ASP .NET MVC views as PDFs.
During debugging, I have noticed something strange: only the first PDF file gets generated within an acceptable time frame, it takes about 30 seconds (when I open the view, it is about one or two seconds, as it makes use of caching). Any subsequent PDF files are created a lot slower (and by slow I mean 2 minutes at least), which would be a pain for the users of our product.
This is how I use the library:
Code: C#
using ( var stream = new MemoryStream () )
{
var options = new EO.Pdf.HtmlToPdfOptions ();
options.PageSize = new SizeF ( 8.27f, 11.69f );
options.OutputArea = new RectangleF ( 0.1f, 0.2f, 8.25f, 11.5f );
EO.Pdf.HtmlToPdf.ConvertUrl ( url, stream, options );
pdfFile = stream.ToArray ();
}
Can you spot the error here? Is this behavior somehow a limitation of the trial product? How could we get rid of it?
Thanks a lot,
Zsolt