iState
Flag that indicates how to align the annotation toolbar. Possible values are given below, and may be combined:
Value |
Meaning |
ANN_DEFINE_BEGINSET |
[0] This is the first point to define a new object. |
ANN_DEFINE_BEGINMOVE |
[1] This is the point from which to move the object. |
ANN_DEFINE_BEGINROTATE |
[2] This is the starting point for calculating the angle of rotation. |
ANN_DEFINE_BEGINRESIZE |
[3] This is the starting point for calculating how to resize the object. |
ANN_DEFINE_BEGINSELECT |
[4] This is the first corner of the rectangle used to select objects. |
ANN_DEFINE_APPEND |
[5] This is the next point when defining an object that requires more than two points. |
ANN_DEFINE_UPDATE |
[6] This is the current mouse position during creation of the object. Use this on a mouse move event to reflect the current shape of the object. |
ANN_DEFINE_END |
[7] This is the last point. |
ANN_DEFINE_BEGINMOVESELECTED |
[8] This is the point from which to move all selected objects. |
ANN_DEFINE_BEGINROTATESELECTED |
[9] This is the starting point for calculating the angle of rotation for all selected objects. |
ANN_DEFINE_BEGINRESIZESELECTED |
[10] This is the starting point for calculating the how to resize all selected objects. |
ANNDEFINE_BEGINMOVEPOINT |
[11] This is a starting point, used when moving one point on an annotation object. The behavior depends on the annotation object being manipulated. This can be used to move a single point on any of the following annotation objects: ANN_OBJECT_LINE ANN_OBJECT_POLYLINE ANN_OBJECT_POLYGON ANN_OBJECT_POINTER ANN_OBJECT_FREEHAND ANN_OBJECT_FREEHANDHOTSPOT ANN_OBJECT_RULER ANN_OBJECT_CROSSPRODUCT ANN_OBJECT_PROTRACTOR ANN_OBJECT_CURVE ANN_OBJECT_CURVECLOSED You can use ANNDEFINE_BEGINMOVEPOINT to perform a simultaneous rotate and resize for the following objects: When doing this, call AnnDefine with the ANNDEFINE_SETANCHORPOINT flag prior to calling AnnDefine with the ANNDEFINE_BEGINMOVEPOINT flag. (Note that you must set an anchor point prior to using ANNDEFINE_BEGINMOVEPOINT) ANN_OBJECT_RECT ANN_OBJECT_ELLIPSE ANN_OBJECT_HILITE ANN_OBJECT_REDACT ANN_OBJECT_TEXT ANN_OBJECT_NOTE ANN_OBJECT_STAMP ANN_OBJECT_HOTSPOT |
ANN_DEFINE_BEGINMOVENAME |
[12] This is the starting point from which to move the object name. |
ANNDEFINE_SETANCHORPOINT |
[13] This is an anchor point. Use this value when rotating an annotation object around a point other than its center. When doing this, call AnnDefine with this flag prior to calling AnnDefine with the ANNDEFINE_BEGINROTATE flag. |