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





In This Topic
GetGdiplusImageFromGdPictureImage Method
In This Topic
Returns a gdiplus image handle from a GdPicture image.
Syntax
'Declaration
 
Public Function GetGdiplusImageFromGdPictureImage( _
   ByVal ImageID As Integer _
) As IntPtr
public IntPtr GetGdiplusImageFromGdPictureImage( 
   int ImageID
)
public function GetGdiplusImageFromGdPictureImage( 
    ImageID: Integer
): IntPtr; 
public function GetGdiplusImageFromGdPictureImage( 
   ImageID : int
) : IntPtr;
public: IntPtr GetGdiplusImageFromGdPictureImage( 
   int ImageID
) 
public:
IntPtr GetGdiplusImageFromGdPictureImage( 
   int ImageID
) 

Parameters

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

Return Value

The exported gdiplus image handle.
Remarks

The exported gdiplus image will have the same pixel source as the GdPicture image passed as a parameter. Therefore, if you remove the specified GdPicture image from memory you will remove at same time the exported gdiplus image data.

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

See Also