Question Twips Pixels How to set

TequiTalon

New member
Joined
Mar 15, 2023
Messages
2
Programming Experience
10+
In VB 6 it was so easy to set form measurements to Twips or pixels, How do I do it in a VB.net application? Thanks for any help.
 
.Net only supports pixels, if you want to calculate you can use the formula 1440/dpi for twips per pixel. Control.DeviceDpi is one option to get dpi (in winforms).
 
Back
Top