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

Returns a Bitmap object from a GdPicture image.

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

Bitmap. The exported Bitmap image.

The exported Bitmap object will have the same pixel source as a GdPicture image. 

Therefore, if you remove a GdPicture image from memory you will remove in same time the exported Bitmap data.

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