.net version 17.6.0
The file size is 292Kb. I’m trying to only process the first page, but it seems like the whole document is bring processed.
Here is what I’m doing to only process one page. Let me know if this is correct.
HtmlOptions options = new HtmlOptions(); options.PageNumber = 1; options.CountPagesToRender = 1;
Does the whole file get processes even though I only want to display the first page? I have read there are some ways to display the first page almost instantly. I have not found a way to do that.
I have read that there is a method PreloadPagesCount(1) somewhere that makes displaying the first page very fast. I have not found that function
When running the function GetPages it takes a little while to get the pages and only one page comes back. However, the page.HtmlConent.Lenght is around 721650665. That’s pretty big for the first page. I cannot render that to the client.
Any help would be great.