Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- image
- The image object to draw.
- sourceX
- The X location in the source image of the upper-left of the source image data.
- sourceY
- The Y location in the source image of the upper-left of the source image data.
- sourceWidth
- The source width of the image data.
- sourceHeight
- The source height of the image data.
- destinationX
- The X location of the destination for the upper-left corner of the image data.
- destinationY
- The Y location of the destination for the upper-left corner of the image data.
- destinationWidth
- The destination width of the Image data.
- destinationHeight
- The destination height of the Image data.
- aspect
- when true, the destination size is adjusted to maintain the image data's aspect ratio.