Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- image
- The System.Drawing.Image object to draw.
- destination
- A System.Drawing.PointF which represents the location of the destination for the upper-left corner of the image.
- destinationSize
- A System.Drawing.SizeF which represents the destination size of the image.
- aspect
- A boolean value that when true, the destination size is adjusted to maintain the image's aspect ratio.