GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GetBitmapSourceFromGdPictureImage Method
A unique image identifier of the GdPicture image representing the image to export.





In This Topic
GetBitmapSourceFromGdPictureImage Method
In This Topic
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.

This method requires the Image Documents component to run.

See Also