My organization is using version 12, I don’t believe our license permits using a later version and we are not able to renew at license at this time to get the latest version.
The following error appears on the longer html strings: max (300000) < opt (665060) the number on the right changes. Not exactly sure why the error is appearing, my assumption is due to length of the html. The following works up to a certain length in the html string, are there limitations on length using the recommended method below?
var htmlLoadOptions = new Aspose.Pdf.HtmlLoadOptions();
htmlLoadOptions.PageInfo.IsLandscape = true;
htmlLoadOptions.InputEncoding = “UTF8”;
var htmlMemoryStream = new MemoryStream(Encoding.UTF8.GetBytes(htmlString));
var pdfDocument = new Aspose.Pdf.Document(htmlMemoryStream, htmlLoadOptions);
htmString length = 906731
htmlMemoryStream length 906757
Thanks in advance for any insight.
Scott