Converting from pixels to millimeters

I'm programming in visual basic .net and i need to determine the size, in millimeters, of some lines on a picturebox (determined by points). i've been searching in google but i found nothing except that vb .Net measures things in pixels (rather than twips, like VB6), and that pixels are very difficult to convert because they are influenciated by the monitor and screen resolution. But i found nothing on how to convert pixels to another measurement scale.
Can you help?

My thanks in advanced


  • I have never programmed in VB.Net but in VB u can use scalex() function to change between various scale modes.

    I would suggest you to buid a ActiveX component in VB for conversion and use it in VB.Net.

    Hope this might help u out. :-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion