Webpage to pdf conversion issue


Iam trying to convert from webpage url to pdf using aspose.pdf,but its showing an issue as follows,
At most 4 text fragments can be added in evaluation mode.

My code is as follows,

WebRequest request = WebRequest.Create("…/test/sample.html");

HttpWebResponse response = (HttpWebResponse)request.GetResponse();

Stream dataStream = response.GetResponseStream();

StreamReader reader = new StreamReader(dataStream);

string responseFromServer = reader.ReadToEnd();


MemoryStream stream = new MemoryStream(System.Text.Encoding.UTF8.GetBytes(responseFromServer));

HtmlLoadOptions options = new HtmlLoadOptions("…/test/");

Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(stream, options);

options.PageInfo.IsLandscape = true;

HI Jameer,

Thanks for contacting support.

The issue is occurring because you are using the API in trial mode. There are some limitations in trial mode. So in order to test the API without any limitations, please try requesting a 30 days temporary license. For more information, please visit Get a temporary license