How to calculate set form size in pixel

pedroccdapedroccda Member Posts: 90
I want to create a form with this size: 320x240 pixel.
But I can use only syze in 1/100 of mm. :(
Is it possible to calculte at runtime the form size in mm corresponding to the PIXEL size? :?:

Thank you
Kiki

Comments

  • kinekine Member Posts: 12,562
    1) You need DPI of used monitor
    2) You need width x height of current desktop
    3) after that, you can calc the values...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.