scaling an image

  • Thread starter Thread starter Stephan Steiner
  • Start date Start date
S

Stephan Steiner

Hi

The regular .NET framework allows you to set a size when creating a bitmap
but that constructor is not available on the CF. I've been looking around in
the API documentation but I didn't see anything. Is there a way to scale
bitmaps on the .NET CF?

Stephan
 
You can scale the bitmap when drawing it. There a few
overloads to the Graphics.DrawImage that'd handle that.
 
Back
Top