ImageGear Professional DLL v18.1 for Windows
ART_enable_rotation_set
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ART Component API Reference > ART Component Functions Reference > Rotation Functions > ART_enable_rotation_set

Glossary Item Box

This function determines whether rotation is possible or not for an annotation.

Declaration:

  Copy Code
AT_ERRCOUNT ART_enable_rotation_set (
        HIGEAR hIGear,
        BOOL bEnable
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
bEnable BOOL A value of TRUE allows rotation, a FALSE value does not allow rotation.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

None

Example:

  Copy Code
HIGEAR hIGear;  /* HIGEAR handle of Image */
AT_ERRCOUNT nErrCount; /* Tally of IG errors on stack */
nErrCount = ART_enable_rotation_set (hIGear,FALSE);

Remarks:

A value of TRUE allows rotation, a FALSE value does not allow rotation. The default value is TRUE.

©2014. Accusoft Corporation. All Rights Reserved.