Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / DrawGdPictureImageOnGraphics Method
GdPicture image identifier. Image to draw.
Graphics destination.
Left pixel destination of the graphics.
Top pixel destination of the graphics.
Width, in pixel, of the drawn image.
Height, in pixel, of the drawn image.
A member of the Drawing2D.InterPolationMode enumeration.





In This Topic
    DrawGdPictureImageOnGraphics Method
    In This Topic
    Draws a GdPicture image into a graphics object.
    Syntax
    'Declaration
     
    
    Public Function DrawGdPictureImageOnGraphics( _
       ByVal ImageID As Integer, _
       ByVal g As Graphics, _
       ByVal DstLeft As Integer, _
       ByVal DstTop As Integer, _
       ByVal DstWidth As Integer, _
       ByVal DstHeight As Integer, _
       ByVal InterpolationMode As InterpolationMode _
    ) As GdPictureStatus
    public GdPictureStatus DrawGdPictureImageOnGraphics( 
       int ImageID,
       Graphics g,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       InterpolationMode InterpolationMode
    )
    public function DrawGdPictureImageOnGraphics( 
        ImageID: Integer;
        g: Graphics;
        DstLeft: Integer;
        DstTop: Integer;
        DstWidth: Integer;
        DstHeight: Integer;
        InterpolationMode: InterpolationMode
    ): GdPictureStatus; 
    public function DrawGdPictureImageOnGraphics( 
       ImageID : int,
       g : Graphics,
       DstLeft : int,
       DstTop : int,
       DstWidth : int,
       DstHeight : int,
       InterpolationMode : InterpolationMode
    ) : GdPictureStatus;
    public: GdPictureStatus DrawGdPictureImageOnGraphics( 
       int ImageID,
       Graphics* g,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       InterpolationMode InterpolationMode
    ) 
    public:
    GdPictureStatus DrawGdPictureImageOnGraphics( 
       int ImageID,
       Graphics^ g,
       int DstLeft,
       int DstTop,
       int DstWidth,
       int DstHeight,
       InterpolationMode InterpolationMode
    ) 

    Parameters

    ImageID
    GdPicture image identifier. Image to draw.
    g
    Graphics destination.
    DstLeft
    Left pixel destination of the graphics.
    DstTop
    Top pixel destination of the graphics.
    DstWidth
    Width, in pixel, of the drawn image.
    DstHeight
    Height, in pixel, of the drawn image.
    InterpolationMode
    A member of the Drawing2D.InterPolationMode enumeration.

    Return Value

    A member of the GdPictureStatus enumeration.
    See Also