Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

Flipping, Reversing and Rotating Annotation Objects

Show in webframe

LEADTOOLS provides several methods for manipulating annotation objects so they are flipped, reversed, or rotated.

Use the LAnnotation::Flip function to flip one or more annotation objects, top to bottom. Objects that contain text cannot be flipped or reversed. If one or more such objects is in a group of objects that is flipped or reversed on a common axis, the text will move to the new position, but will retain its orientation.

Use the LAnnotation::Reverse function to reverse one or more annotation objects, left to right. Objects that contain text cannot be flipped or reversed. If one or more such objects is in a group of objects that is flipped or reversed on a common axis, the text will move to the new position, but will retain its orientation.

Use the LAnnotation::Rotate function to rotate one or more annotation objects.

The LAnnotation::GetRotateOptions and the LAnnotation::SetRotateOptions functions are used to control the interface used for performing rotations. Enable these functions by calling the LAnnotation::SetOptions function and passing OPTIONS_NEW_ROTATE. For more information, refer to Annotation Features.

Certain objects cannot be rotated (see the following list). If one or more such objects are in a group of objects that is rotated around a common center, those objects will move to new positions, but will retain their orientation.

Flipping and Reversing:

All annotation objects flip or reverse with the following notes:

ANN_OBJECT_AUDIO - metafile does not flip/reverse

ANN_OBJECT_BUTTON - text itself does not flip/reverse

ANN_OBJECT_ENCRYPT - metafile does not flip/reverse

ANN_OBJECT_FREEHANDHOTSPOT -- metafile does not flip/reverse

ANN_OBJECT_HOTSPOT - metafile does not flip/reverse

ANN_OBJECT_NOTE - text itself does not flip/reverse

ANN_OBJECT_POINT - if the point uses an image, the image does not flip/reverse

ANN_OBJECT_PUSHPIN - text itself does not flip/reverse

ANN_OBJECT_RTF - text itself does not flip/reverse

ANN_OBJECT_STAMP the text flips/reverses, but the image and metafile do not flip/reverse

ANN_OBJECT_TEXT - text itself does not flip/reverse

ANN_OBJECT_TEXTPOINTER - the tail flips, but the text does not flip/reverse

ANN_OBJECT_VIDEO - metafile does not flip/reverse

Rotating:

All objects rotate EXCEPT for the following objects:

ANN_OBJECT_AUDIO

ANN_OBJECT_BUTTON

ANN_OBJECT_ENCRYPT

ANN_OBJECT_FREEHANDHOTSPOT the object rotates, but not the metafile

ANN_OBJECT_HOTSPOT

ANN_OBJECT_NOTE

ANN_OBJECT_POINT

ANN_OBJECT_PUSHPIN

ANN_OBJECT_RTF

ANN_OBJECT_TEXTPOINTER

ANN_OBJECT_VIDEO

See Also

Displaying and Manipulating Annotation Objects

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.