ComponentOne PDF for .NET
DrawImage(Image,RectangleF) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > DrawImage Method : DrawImage(Image,RectangleF) Method
System.Drawing.Image object to draw.
System.Drawing.RectangleF structure that specifies the location of the drawn image, in points from the top left corner of the page.
Draws the specified System.Drawing.Image object at the specified location, stretching it to fit the destination rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawImage( _
   ByVal img As System.Drawing.Image, _
   ByVal rc As System.Drawing.RectangleF _
) 
public void DrawImage( 
   System.Drawing.Image img,
   System.Drawing.RectangleF rc
)

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.
Remarks
The DrawImage method can be used to render bitmaps and metafiles. When used with metafiles, it enumerates the drawing commands in the metafile and translates them into low-level drawing primitives. This results in resolution-independent images.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List