Draws the specified System.Drawing.Image object at the specified location, clipping the output to the given clipping rectangle.
Syntax
'Declaration
Public Overloads Sub DrawImage( _
ByVal As System.Drawing.Image, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Drawing.RectangleF _
)
public void DrawImage(
System.Drawing.Image ,
System.Drawing.RectangleF ,
System.Drawing.RectangleF
)
Parameters
- img
- System.Drawing.Image object to draw.
- rcImage
- System.Drawing.RectangleF structure that specifies the location of the drawn image, in points from the top left corner of the page.
- rcClip
- System.Drawing.RectangleF structure that specifies a clipping rectangle on the page. No part of the image is drawn outside the clipping rectangle.
See Also