ImageGear for C and C++ on Windows v19.9 - Updated
IG_vect_raster_get_fileformat
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Raster Functions > IG_vect_raster_get_fileformat

This function gets a file format identifier being assigned to the raster entity.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_raster_get_fileformat(
        HIG_VECT_ENTITY hEntity, 
        long* lpFormat
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpFormat long* Returns file format identifier.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None