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

Exports a GdPicture image to a HBitmap.

C#
public IntPtr GetHBitmapFromGdPictureImage(
    int ImageID
);
Visual Basic
Public Function GetHBitmapFromGdPictureImage(
    ByVal ImageID As Integer
) As IntPtr
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The GdPicture image to export as HBitmap.  
Returns

A new HBitmap handle which will contains the specified GdPicture image data.

the GetStat() function to see if this function success. 

DO NOT FORGET to release the HBitmap object with the ReleaseHBitmap() function.

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