Flipping, Reversing, and Rotating Annotation Objects

Note:

This topic is for Document/Medical only.

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

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

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

Use the AnnRotate method to rotate one or more annotation objects. Certain objects cannot be rotated (see the following list). If a group of objects is rotated around a common center, these objects will move to new positions, but will retain their orientation.

Flipping and Reversing:

All annotation objects flip or reverse with the following notes:

ANNOBJECT_TEXT - text itself does not flip/reverse

ANNOBJECT_PUSHPIN - text itself does not flip/reverse

ANNOBJECT_RTF - text itself does not flip/reverse

ANNOBJECT_NOTE - text itself does not flip/reverse

ANNOBJECT_HOTSPOT - metafile does not flip/reverse

ANNOBJECT_BUTTON - text itself does not flip/reverse

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

ANNOBJECT_ENCRYPT - metafile does not flip/reverse

ANNOBJECT_AUDIO - metafile does not flip/reverse

ANNOBJECT_VIDEO - metafile does not flip/reverse

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

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

ANNOBJECT_FREEHANDHOTSPOT -- metafile does not flip/reverse

Rotating:

All objects rotate EXCEPT for the following objects:

ANNOBJECT_NOTE

ANNOBJECT_RTF

ANNOBJECT_TEXTPOINTER

ANNOBJECT_PUSHPIN

ANNOBJECT_POINT

ANNOBJECT_BUTTON

ANNOBJECT_HOTSPOT

ANNOBJECT_ENCRYPT

ANNOBJECT_AUDIO

ANNOBJECT_VIDEO

ANNOBJECT_FREEHANDHOTSPOT – the object rotates, but not the metafile

See Also

Annotations (Document/Medical only): Object Manipulation