DrawGdPictureImageRectOnHwnd Method (GdPictureImaging)
Draws a portion of a GdPicture image into a window defined by a Window Handle.
public GdPictureStatus DrawGdPictureImageRectOnHwnd(
int ,
IntPtr HANDLE,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
InterpolationMode
)
public function DrawGdPictureImageRectOnHwnd(
: Integer;
HANDLE: IntPtr;
: Single;
: Single;
: Single;
: Single;
: Single;
: Single;
: Single;
: Single;
: InterpolationMode
): GdPictureStatus;
public function DrawGdPictureImageRectOnHwnd(
: int,
HANDLE : IntPtr,
: float,
: float,
: float,
: float,
: float,
: float,
: float,
: float,
: InterpolationMode
) : GdPictureStatus;
public: GdPictureStatus DrawGdPictureImageRectOnHwnd(
int ,
IntPtr HANDLE,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
InterpolationMode
)
public:
GdPictureStatus DrawGdPictureImageRectOnHwnd(
int ,
IntPtr HANDLE,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
float ,
InterpolationMode
)
'Declaration
Public Function DrawGdPictureImageRectOnHwnd( _
ByVal As Integer, _
ByVal HANDLE As IntPtr, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As InterpolationMode _
) As GdPictureStatus
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.
- SrcLeft
- Left pixel source of the image to draw.
- SrcTop
- Top pixel source of the image to draw.
- SrcWidth
- Width portion, in pixel, of the image to draw.
- SrcHeight
- Height portion, in pixel, of the image to draw.
- InterpolationMode
- A member of the Drawing2D.InterPolationMode enumeration.
Return Value
A member of the GdPictureStatus enumeration.