This event occurs immediately after the end user or program selects an annotation mark.
Image Edit control
Sub object_MarkSelect(Button,Shift,Left,Top,Width,Height,MarkType,GroupName)
Parameter | Data Type | Setting |
Button | Integer | Specifies the mouse button pressed: 1 -- Left button |
Shift | Integer | Specifies whether the Shift, Ctrl, or Alt key is pressed: 1 -- Shift key |
Left | Long | The beginning horizontal position within the image in image pixels |
Top | Long | The beginning vertical position within the image in image pixels |
Width | Long | The ending horizontal position within the image in image pixels |
Height | Long | The ending vertical position within the image in image pixels |
MarkType | Integer | The AnnotationType of the annotation mark (except for the Select Annotations annotation type) |
GroupName | String | The name of the annotation group to which the annotation belongs |
Setting | Description |
0 | None |
1 | Straight Line |
2 | Freehand Line |
3 | Hollow Rectangle |
4 | Filled Rectangle |
5 | Image Embedded |
6 | Image Reference |
7 | Text |
8 | Text Stamp |
9 | Text From File |
10 | Attach-a-Note |
11 | Select Annotations |
If multiple annotations are selected, a MarkType parameter value of 0 is returned.
The GroupName parameter is an empty string when multiple annotations are selected.
Annotation topics in Imaging Concepts
SelectAnnotationGroup method