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

Theera

Expert
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
    39.5 KB · Views: 317
  • 1607749275872.jpg
    67.2 KB · Views: 297

Theera

Expert
Licensed User
Longtime User
Thank you ,my problem can be solved already. from Klaus' advise
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…