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

Returns an index of fill type with the specified gradient object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_gradientfilltype(
        HIG_VECT_DRWNG hDrwng,
        LPCHAR lpName,
        long* lpIndex
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Vector data handle.
lpName LPCHAR Name of the fill type.
lpIndex long* Returns the index of the fill type.

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