GdPicture.NET Reference Guide
GetBitmapSourceFromGdPictureImage Method





GdPicture14 Namespace > GdPictureImaging Class : GetBitmapSourceFromGdPictureImage Method
A unique image identifier of the GdPicture image representing the image to export.
Returns a Bitmap object from a GdPicture image.
Syntax
'Declaration
 
Public Function GetBitmapSourceFromGdPictureImage( _
   ByVal ImageID As Integer _
) As BitmapSource
public BitmapSource GetBitmapSourceFromGdPictureImage( 
   int ImageID
)
public function GetBitmapSourceFromGdPictureImage( 
    ImageID: Integer
): BitmapSource; 
public function GetBitmapSourceFromGdPictureImage( 
   ImageID : int
) : BitmapSource;
public: BitmapSource* GetBitmapSourceFromGdPictureImage( 
   int ImageID
) 
public:
BitmapSource^ GetBitmapSourceFromGdPictureImage( 
   int ImageID
) 

Parameters

ImageID
A unique image identifier of the GdPicture image representing the image to export.

Return Value

A BitmapSource object. The exported Bitmap image.
Remarks

The exported Bitmap object will own its own pixel buffer.

Use the GetStat() method to check if this method succeeded.

See Also

Reference

GdPictureImaging Class
GdPictureImaging Members