Sushant Torankar

Sushant Torankar

  • 1.1k
  • 247
  • 26.7k

Html to PDF conversion issue

Feb 1 2024 2:28 PM

Hello,

I am converting URL to pdf using SelectPdf library (HtmlToPdf class).I am able to convert my html url to pdf.

But now i have added one extra big <table> to html page. Now it converts that url to pdf but not full content.

It cuts most of the content form that <table>, For Ex : if new table has 1500 lines of code, then it shows only first 300 lines of code and rest lines of code gets removed. Maybe it does not load the data comletely or the pdf conversion have limited content size?

I tried SelectPdf properties such as MaxLoad, MinLoad, MaxHeight, but could not fix the issue

Please let me know what can be done here.

 

Thanks in advance !


Answers (5)