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

Glossary Item Box

Gets the spread method of the specified gradient. 

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_spreadmethod(
        HIG_VECT_GRADIENT hGradient,
        enumIGVectGradientSpreadMethod* lpnSpreadMethod
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
lpnSpreadMethod enumIGVectGradientSpreadMethod Returns spread method of the gradient object. Spread method specifies how the gradient is expanded. See enumIGVectGradientSpreadMethod enumeration for the list of available spread methods.

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.