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

Exports a GdPicture image as Dib (Device Independent Bitmap).

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

A new dib based on a GdPicture image.

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

DO NOT FORGET to release the dib with the ReleaseDib() function.

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