GdPicture.NET Reference Guide
GetGraphicsFromGdPictureImage Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : GetGraphicsFromGdPictureImage Method
A unique image identifier of the GdPicture image representing the source image for further usage.
Gets the Graphics object associated with a GdPicture Image.
Syntax
'Declaration
 
Public Function GetGraphicsFromGdPictureImage( _
   ByVal ImageID As Integer _
) As Graphics
public Graphics GetGraphicsFromGdPictureImage( 
   int ImageID
)
public function GetGraphicsFromGdPictureImage( 
    ImageID: Integer
): Graphics; 
public function GetGraphicsFromGdPictureImage( 
   ImageID : int
) : Graphics;
public: Graphics* GetGraphicsFromGdPictureImage( 
   int ImageID
) 
public:
Graphics^ GetGraphicsFromGdPictureImage( 
   int ImageID
) 

Parameters

ImageID
A unique image identifier of the GdPicture image representing the source image for further usage.

Return Value

A Graphics Object associated with this GdPicture Image.
Remarks

Use the GetStat() method to see if this method Succeeded.

A Graphics object cannot be created from an image that has an indexed pixel format.

See Also

Reference

GdPictureImaging Class
GdPictureImaging Members