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

Exports a GdPicture image as HICON.

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

A new HICON handle which will contains the specified GdPicture image data as icon.

DO NOT FORGET to release the HICON object with the ReleaseHICON() function.

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