Android Question How to fix thickness of line and size of font?

Theera

Well-Known Member
Licensed User
Longtime User
I test pdfdocument by print paper out. The thickness of line is not changed ,it should be.(It's too more or too less thickness) and Size of font is not small some where.
B4X:
pdf.Canvas.DrawLine(2, 2, 593 , 840, Colors.Blue, 0.99dip)
pdf.Canvas.DrawText("Hello", 100, 100, Typeface.SANSSERF, 12/ GetDeviceLayoutValues.Scale , Colors.Yellow, "CENTER")
 

Attachments

  • 1607749267898.jpg
    1607749267898.jpg
    39.5 KB · Views: 138
  • 1607749275872.jpg
    1607749275872.jpg
    67.2 KB · Views: 131

Theera

Well-Known Member
Licensed User
Longtime User
Thank you ,my problem can be solved already. from Klaus' advise
 
Upvote 0
Top