VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawImage Method / DrawImage(VintasoftImage,RectangleF) Method
Vintasoft.Imaging.VintasoftImage to draw.
System.Drawing.RectangleF structure that specifies the location and size where image must be drawn.



In This Topic
    DrawImage(VintasoftImage,RectangleF) Method
    In This Topic
    Compress the specified image using default compression, saves compressed image as image resource in PDF document and draws the image resource at the specified location and with specified size.
    Syntax
    'Declaration
     
    Public Overloads Function DrawImage( _
       ByVal image As VintasoftImage, _
       ByVal rect As RectangleF _
    ) As PdfImageResource
    public PdfImageResource DrawImage( 
       VintasoftImage image,
       RectangleF rect
    )
    public: PdfImageResource* DrawImage( 
       VintasoftImage* image,
       RectangleF rect
    ) 
    public:
    PdfImageResource^ DrawImage( 
       VintasoftImage^ image,
       RectangleF rect
    ) 

    Parameters

    image
    Vintasoft.Imaging.VintasoftImage to draw.
    rect
    System.Drawing.RectangleF structure that specifies the location and size where image must be drawn.

    Return Value

    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also