Android-XML-to-PDF-Generator icon indicating copy to clipboard operation
Android-XML-to-PDF-Generator copied to clipboard

how to adjust my layout to A4 Paper?

Open dor19741 opened this issue 2 years ago • 1 comments

PdfGenerator.a4WidthInPostScript

i saw this command but idk whrere i can use this command , which method i need to use / enable in order to acheive a pdf adpative it to A4

dor19741 avatar Jul 09 '22 11:07 dor19741

Would it be PdfGenerator.getBuilder().setPageSize(PdfGenerator.PageSize.A4) ?

fzanutto avatar Jul 21 '22 18:07 fzanutto

PdfGenerator.getBuilder().setPageSize(PdfGenerator.PageSize.A4) not found in latest release

mujahid-dzinemedia avatar Aug 15 '22 10:08 mujahid-dzinemedia

Hi, @fernandozanutto @dor19741 @mujahid-dzinemedia sorry for the late reply. Please check my documents where I just mentioned it more clearly than previously. https://github.com/Gkemon/Android-XML-to-PDF-Generator/blob/master/README.md#-important-note For some issues (It causes the pdf sometimes to be malformed), I removed the page size insertion functions. Thank you.

Gkemon avatar Aug 15 '22 18:08 Gkemon

Hi @fernandozanutto @dor19741 @mujahid-dzinemedia Thank you all for the support. Please kindly star and fork and send me the app links you all are using it. If there is no confidentiality then I will list them in my readme.md file.

Gkemon avatar Aug 15 '22 19:08 Gkemon