ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_gradient_get_name
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_get_name

Gets the gradient name.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_name(
        HIG_VECT_GRADIENT hGradient,
        LPCHAR lpName,
        LONG nSize
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
lpName LPCHAR Pointer to a memory buffer to receive the name of the gradient object.
nSize LONG Size of the memory buffer.

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