Gets the number of stops for the specified gradient object.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_stopcount( HIG_VECT_GRADIENT hGradient, LONG* lpnStopCount ); |
Arguments:
Name | Type | Description |
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
lpnStopCount | LONG* | Returns the number of stops for the specified gradient object. |
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