GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / DrawGdPictureImageOnHwnd Method
GdPicture image identifier. Image to draw.
Window Handle destination.
Left pixel destination of the window.
Top pixel destination of the window.
Width, in pixel, of the drawn image.
Height, in pixel, of the drawn image.
A member of the Drawing2D.InterPolationMode enumeration.





In This Topic
DrawGdPictureImageOnHwnd Method (GdPictureImaging)
In This Topic
Draws a GdPicture image into a window defined by a Window Handle.
Syntax
'Declaration
 
Public Function DrawGdPictureImageOnHwnd( _
   ByVal ImageID As Integer, _
   ByVal HANDLE 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 DrawGdPictureImageOnHwnd( 
   int ImageID,
   IntPtr HANDLE,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
)
public function DrawGdPictureImageOnHwnd( 
    ImageID: Integer;
    HANDLE: IntPtr;
    DstLeft: Integer;
    DstTop: Integer;
    DstWidth: Integer;
    DstHeight: Integer;
    InterpolationMode: InterpolationMode
): GdPictureStatus; 
public function DrawGdPictureImageOnHwnd( 
   ImageID : int,
   HANDLE : IntPtr,
   DstLeft : int,
   DstTop : int,
   DstWidth : int,
   DstHeight : int,
   InterpolationMode : InterpolationMode
) : GdPictureStatus;
public: GdPictureStatus DrawGdPictureImageOnHwnd( 
   int ImageID,
   IntPtr HANDLE,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
) 
public:
GdPictureStatus DrawGdPictureImageOnHwnd( 
   int ImageID,
   IntPtr HANDLE,
   int DstLeft,
   int DstTop,
   int DstWidth,
   int DstHeight,
   InterpolationMode InterpolationMode
) 

Parameters

ImageID
GdPicture image identifier. Image to draw.
HANDLE
Window Handle destination.
DstLeft
Left pixel destination of the window.
DstTop
Top pixel destination of the window.
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