SpreadsheetGear 2012
GetImage Method (Image)






Returns a System.Drawing.Image from the specified picture format or null if there is no image. The caller is responsible to dispose the image.
Syntax
'Declaration
 
Public Shared Function GetImage( _
   ByVal pictureFormat As IPictureFormat _
) As System.Drawing.Image
'Usage
 
Dim pictureFormat As IPictureFormat
Dim value As System.Drawing.Image
 
value = Image.GetImage(pictureFormat)
public static System.Drawing.Image GetImage( 
   IPictureFormat pictureFormat
)
public function GetImage( 
    pictureFormat: IPictureFormat
): System.Drawing.Image; static; 
public static function GetImage( 
   pictureFormat : IPictureFormat
) : System.Drawing.Image;
public: static System.Drawing.Image* GetImage( 
   IPictureFormat* pictureFormat
) 
public:
static System.Drawing.Image^ GetImage( 
   IPictureFormat^ pictureFormat
) 

Parameters

pictureFormat
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Image Class
Image Members

Send Feedback