I decide for now the simplest way to get my printing done is to put everything in a CLV and use
Which works fine - EXCEPT if I try to center the text, As I do on the first line,
the text disappears on the bmp.
Here is a screenshot of the CLV on the Page:
Here is what the corresponding bmp looks like:
If I leave the first line Left Justified it works as expected.
I tried this in both debug and release mode with the same results.
The text also disappears if RIGHT justified.
Dim bmp As B4XBitmap = PrintCLV.sv.ScrollViewInnerPanel.Snapshot
DestRect.Initialize(10,10,280, 835)
pdf.Canvas.DrawBitmap(bmp, Null, DestRect)
pdf.FinishPage
Which works fine - EXCEPT if I try to center the text, As I do on the first line,
B4X:
NameLbl.SetTextAlignment("BOTTOM", "CENTER")
Phone1Lbl.SetTextAlignment("BOTTOM", "CENTER")
EmailLbl.SetTextAlignment("BOTTOM", "CENTER")
the text disappears on the bmp.
Here is a screenshot of the CLV on the Page:
Here is what the corresponding bmp looks like:
If I leave the first line Left Justified it works as expected.
I tried this in both debug and release mode with the same results.
The text also disappears if RIGHT justified.