XFPDF icon indicating copy to clipboard operation
XFPDF copied to clipboard

PDFToHtml.PageWidth and PDFToHtml.PageHeight does not affect generated PDF size

Open Kasta11111 opened this issue 4 years ago • 2 comments

Trying to create PDF with custom width and height by changing PDFToHtml.PageWidth and PDFToHtml.PageHeight values but generated PDF has still the same size every time. Doesn't matter which values I use.

Kasta11111 avatar Oct 06 '20 11:10 Kasta11111

@Kasta11111 will look into that issue

dinesh4official avatar Nov 20 '20 04:11 dinesh4official

Hey @dinesh4official .. great code.. Hey @Kasta11111 I think you should change at builder.SetMediaSize(PrintAttributes.MediaSize.NaGovtLetter.AsLandscape()); change MediaSize

vkreddyg avatar Mar 10 '21 08:03 vkreddyg