ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_rotation_get_angle
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Rotation Functions > IG_vect_rotation_get_angle

This function sets a rotation angle in the specified direction.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_rotation_get_angle(
        HIG_VECT_ROTATION hRotation, 
        enumIGVectDir nDir, 
        FLOAT* lpAngle
);

Arguments:

Name Type Description
hRotation HIG_VECT_ROTATION Handle to the Rotation.
nDir enumIGVectDir Constant specifying the rotation direction.
fAngle FLOAT* Angle being set.

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

Is this page helpful?
Yes No
Thanks for your feedback.