VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawImage Method / DrawImage(PdfImageResource,Single,Single,Single,Single) Method
Vintasoft.Imaging.Pdf.Tree.PdfImageResource to draw.
The x-coordinate of the bottom-left corner of the drawn image.
The y-coordinate of the bottom-left corner of the drawn image.
Width of the drawn image.
Height of the drawn image.



In This Topic
    DrawImage(PdfImageResource,Single,Single,Single,Single) Method
    In This Topic
    Draws the specified Vintasoft.Imaging.Pdf.Tree.PdfImageResource at the specified location and with the specified size.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawImage( _
       ByVal imageResource As PdfImageResource, _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single _
    ) 
    public void DrawImage( 
       PdfImageResource imageResource,
       float x,
       float y,
       float width,
       float height
    )
    public: void DrawImage( 
       PdfImageResource* imageResource,
       float x,
       float y,
       float width,
       float height
    ) 
    public:
    void DrawImage( 
       PdfImageResource^ imageResource,
       float x,
       float y,
       float width,
       float height
    ) 

    Parameters

    imageResource
    Vintasoft.Imaging.Pdf.Tree.PdfImageResource to draw.
    x
    The x-coordinate of the bottom-left corner of the drawn image.
    y
    The y-coordinate of the bottom-left corner of the drawn image.
    width
    Width of the drawn image.
    height
    Height of the drawn image.
    Requirements

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

    See Also