You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Exporting GdPicture Image > GetDCFromGdPictureImage Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GetDCFromGdPictureImage Method

Gets a handle to the device context (DC) associated with a GdPicture Image. 

The created display device context will be used by GDI functions to draw data on it.

C#
public IntPtr GetDCFromGdPictureImage(
    int ImageID
);
Visual Basic
Public Function GetDCFromGdPictureImage(
    ByVal ImageID As Integer
) As IntPtr
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The Image from the device context will be created.  
Returns

Handle to the device context associated with this GdPicture Image.

Each to the GetDCFromGdPictureImage() function should be paired with a to the ReleaseGdPictureImageDC() function.

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