GdPicture.NET Reference Guide
GetBitmapSourceFromGdPictureImage Method





GdPicture14 Namespace > GdPictureImaging Class : GetBitmapSourceFromGdPictureImage Method
GdPicture Image Identifier. The GdPicture image to export as Bitmap.
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
GdPicture Image Identifier. The GdPicture image to export as Bitmap.

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