Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 935 Bytes

GdipGetImageType.md

File metadata and controls

60 lines (41 loc) · 935 Bytes

Home

Function name : GdipGetImageType

Group: GDI+ Image - Library: gdiplus


Gets the type (bitmap or metafile) of this Image object.


Code examples:

Custom GDI+ class

Declaration:

GpStatus WINGDIPAPI GdipGetImageType(
	GpImage *image,
	ImageType *type
)
  

FoxPro declaration:

DECLARE INTEGER GdipGetImageType IN gdiplus;
	INTEGER   img,;
	INTEGER @ imgtype  

Parameters:

img [in] Handle to Image Object

imgtype [out] ImageType enumeration value.


Return value:

Returns GpStatus value, 0 means success.


Comments:

typedef enum {  
	ImageTypeUnknown = 0,  
	ImageTypeBitmap = 1,  
	ImageTypeMetafile = 2  
} ImageType;