ImageGear Professional DLL v17.2 for Windows
IG_vect_drwng_create_gradientfilltype
Send Feedback
ImageGear Professional DLL v17.2 for Windows > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_create_gradientfilltype

Glossary Item Box

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

©2012. Accusoft Corporation. All Rights Reserved.