I need to create a document for printing. It needs to be the same regardless of device. B4i or B4A. (B4J would be nice too)
In the code I found for B4i
it says this:
In B4A it says:
So my question is A4 scaled differently between IOS as Android? The aspect ratio is not even the same between these two.
Any other tips on crating pdfs greatly appreciated.
In the code I found for B4i
it says this:
B4X:
Dim pcvs As Canvas
pcvs.InitializePDF(File.DirDocuments, "1.pdf", 612, 792)
'Note that 612 x 792 is the standard document size.
In B4A it says:
B4X:
pdf.Initialize
pdf.StartPage(595, 842) 'A4 size
Any other tips on crating pdfs greatly appreciated.