ImageGear for C and C++ on Windows v20.5 - Updated
IG_vect_drwng_create_gradientfilltype
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_create_gradientfilltype

Creates new fill type with the gradient object specified by gradient name and type. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_create_gradientfilltype(
        HIG_VECT_DRWNG hDrwng,
        enumIGVectGradientType nType, 
        LPCHAR lpName,
        long* lpIndex
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Vector data handle.
nType enumIGVectGradientType Gradient fill type.
lpName LPCHAR Name of the gradient fill type to be created.
lpIndex long* Returns the index of the new gradient 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

Is this page helpful?
Yes No
Thanks for your feedback.