pixel per Inch

  • Thread starter Thread starter Thomas Kehl
  • Start date Start date
T

Thomas Kehl

Hi!

Is there anywhere a possibility to calculate the number of pixels/inch on
the current screen?

I have a Length. Now, i have to calculate, How many pixel this Length is on
the current screen.

Does anyone have an idea?

Thomas
 
If you have a Graphics object (eg from a PaintEventArgs), you can use the
DpiX and DpiY properties.
 
Back
Top