How to adjust the page height of a pdf page in ITextsharp code
I have this asp.net page with export to pdf using ITextsharp. My challenges is that there is to much blank space after the data on the pdf.I would like to adjust the pdf page height so that it has little blank space,I do not want too much blank spaces,it makes the pdf page looks unprofessional
Leon DPosted Sep 6, 2021, 1:11 AM
You can install Free Spire.PDF via nuget and then use the following code to reset PDF page size.
For more information, visit this link:
https://www.e-iceblue.com/Tutorials/Spire.PDF/Spire.PDF-Program-Guide/Page-Setting/How-to-change-PDF-page-size-in-C.html
Sachin SinghPosted Sep 4, 2021, 11:04 PM