GdPicture image identifier. Image to draw.
Device Context destination.
Left pixel destination of the HDC.
Top pixel destination of the HDC.
Width, in pixel, of the drawn image.
Height, in pixel, of the drawn image.
A member of the Drawing2D.InterPolationMode enumeration.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / DrawGdPictureImageOnHDC Method

DrawGdPictureImageOnHDC Method (GdPictureImaging)

In This Topic
Draws a GdPicture image into a HDC (Handle to Device Context).
Syntax
'Declaration
 
Public Function DrawGdPictureImageOnHDC( _
   ByVal ImageID As Integer, _
   ByVal hdc As IntPtr, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal DstWidth As Integer, _
   ByVal DstHeight As Integer, _
   ByVal InterpolationMode As InterpolationMode _
) As GdPictureStatus
public GdPictureStatus DrawGdPictureImageOnHDC( 
   int ImageID,
   IntPtr hdc,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
)
public function DrawGdPictureImageOnHDC( 
    ImageID: Integer;
    hdc: IntPtr;
    DstLeft: Integer;
    DstTop: Integer;
    DstWidth: Integer;
    DstHeight: Integer;
    InterpolationMode: InterpolationMode
): GdPictureStatus; 
public function DrawGdPictureImageOnHDC( 
   ImageID : int,
   hdc : IntPtr,
   DstLeft : int,
   DstTop : int,
   DstWidth : int,
   DstHeight : int,
   InterpolationMode : InterpolationMode
) : GdPictureStatus;
public: GdPictureStatus DrawGdPictureImageOnHDC( 
   int ImageID,
   IntPtr hdc,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
) 
public:
GdPictureStatus DrawGdPictureImageOnHDC( 
   int ImageID,
   IntPtr hdc,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
) 

Parameters

ImageID
GdPicture image identifier. Image to draw.
hdc
Device Context destination.
DstLeft
Left pixel destination of the HDC.
DstTop
Top pixel destination of the HDC.
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