void R2::DrawImage(Image^ image, Rectangle destRect, double srcx, double srcy, double srcwidth, double srcheight, unsigned srcUnit, ImageAttributes^ imageAttributes)
This method draws an image.
The image to be drawn.
The destination rectangle in which the image is drawn.
The x coordinate of the source portion of the image.
The y coordinate of the source portion of the image.
The width of the source rectangle to drawn.
The height of the source rectangle to be drawn.
The unit of measure in the source image.
The attributes of the image to be drawn.
The image is scaled to fit the bounding rectangle.