You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Drawing GdPicture Image on HDC, HWND & Graphics > DrawGdPictureImageOnHwnd Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.DrawGdPictureImageOnHwnd Method

Draws a GdPicture image into a window defined by a Window Handle.

C#
public GdPictureStatus DrawGdPictureImageOnHwnd(
    int ImageID, 
    IntPtr HANDLE, 
    int DstLeft, 
    int DstTop, 
    int DstWidth, 
    int DstHeight, 
    InterpolationMode InterpolationMode
);
Visual Basic
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
Parameters
Parameters 
Description 
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.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.