DrawImage(Image,RectangleF,ContentAlignment,ImageSizeModeEnum) Method
In This Topic
Draws the specified
System.Drawing.Image object at the specified location, adjusting the image size as specified by the and parameters.
Syntax
Parameters
- img
- System.Drawing.Image object to draw.
- rc
- System.Drawing.RectangleF structure that specifies the location of the drawn image, in points from the top left corner of the page.
- align
- System.Drawing.ContentAlignment value that specifies how the image should be aligned within the rectangle.
- mode
- ImageSizeModeEnum value that specifies how the image should be sized to fit the rectangle.
See Also