Bladimir Carrillo Member Licensed User Longtime User Sep 6, 2017 #1 This question is related to https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/ Hi all, How I can to draw long text with wrap to pdf ? Using pdf.Canvas.DrawText I only can draw a single long line. Any suggestions will be appreciated, Regards
This question is related to https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/ Hi all, How I can to draw long text with wrap to pdf ? Using pdf.Canvas.DrawText I only can draw a single long line. Any suggestions will be appreciated, Regards
Erel B4X founder Staff member Licensed User Longtime User Sep 6, 2017 #2 Try this: Add a label to the Activity. It can be outside of the visible area. Set the text and call Sleep(100). Draw it with DrawView: https://www.b4x.com/android/forum/threads/wordwrap-to-a-canvas.71712/#post-456049 Remove the label with Label.RemoveView. Upvote 0
Try this: Add a label to the Activity. It can be outside of the visible area. Set the text and call Sleep(100). Draw it with DrawView: https://www.b4x.com/android/forum/threads/wordwrap-to-a-canvas.71712/#post-456049 Remove the label with Label.RemoveView.