ImageGear Professional DLL for Windows
IG_vect_gradient_get_type

Gets the type of the specified gradient object. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_type(
        HIG_VECT_GRADIENT hGradient,
        enumIGVectGradientType* lpnType
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
lpnType enumIGVectGradientType* Returns the type of the specified gradient object. Two types of gradient objects are available: linear and radial.

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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback