| Example-VB | Example-VC++ | 
This event occurs immediately after the end user or program selects an annotation mark.
| Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 | 
| Ö | Imaging for Windows 95 and 98 | 
| Ö | Imaging for Windows NT 4.0 | 
Image Edit control
Sub object_MarkSelect(Button,Shift,Left,Top,Width,Height,MarkType,GroupName)
| Parameter | Data Type | Setting | 
| Button | Integer (enumerated) | Specifies the mouse button pressed: 
1  | 
| Shift | Integer (enumerated) | Specifies whether the Shift, Ctrl, or Alt key is pressed: 
1  | 
| 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 | 
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.