Best Fit using C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • André Pfitzner
    New Member
    • Aug 2007
    • 1

    #1

    Best Fit using C#

    Hi Folks,
    I am using the example code on the end of this page:
    http://www.bobpowell.n et/bestfit.htm

    But when the image has a DPI differente of the monitor DPI (my monitor has
    96 DPI, the image has 300DPI) the image do not is drawed correctly.

    I made it correct by changing the DPI of the image using SetResolution,
    but I think that this is not the best way to do it....

    Does anyone know a better way or the correct way to do it?

    Thanks.
    André
Working...