MarkSelect Event

Example-VB Example-VC++

This event occurs immediately after the end user or program selects an annotation mark.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

Sub object_MarkSelect(Button,Shift,Left,Top,Width,Height,MarkType,GroupName)

Arguments

Parameter Data Type Setting

Button Integer
(enumerated)
Specifies the mouse button pressed:

1 Left button
2 Right button
4 Middle button

Shift Integer
(enumerated)
Specifies whether the Shift, Ctrl, or Alt key is pressed:

1 Shift key
2 Ctrl key
4 Alt 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

Remarks

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.