ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_drwng_get_filltypeindex
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_get_filltypeindex

The function returns an index of the fill type in the internal container by fill pattern and material.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_filltypeindex(
        HIG_VECT_DRWNG hDrwng,
        enumIGVectFillPattern nPattern,
        long nMaterial,
        long* lpIndex
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
nPattern enumIGVectFillPattern Fill pattern.
nMaterial long Surface material.
lpIndex long* Buffer for fill type index.

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

Remarks:

If fill type with such attributes does still not exist, it is created.