AnnAutoSnapCursor property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL AnnAutoSnapCursor

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets or sets the behavior of the cursor location when creating annotations using automation in design mode. Possible values are:

Value

Meaning

TRUE

The cursor location will snap to on or within the annotation container.

FALSE

The cursor location is not restricted.

This property gets or sets the automation cursor behavior when clicking outside the container. It has no effect on the behavior of the cursor when clicking inside the container. When creating annotations using automation in design mode, the user first chooses an annotation tool. Next the user clicks the mouse in the window containing the image, either on or outside the container (annotation image).

If cursor snapping is enabled and the user clicks outside the container the cursor will "snap" to the container border, as shown in the following figure):

image\AnnSetAutoSnapCursor.gif

If cursor snapping is disabled and the user clicks outside the container but in the window, drawing of the annotation object begins with the annotation object outside of the container.

The default for behavior is to have cursor snapping enabled.

See Also

Elements:

AnnAutoCursor property, AnnSetUserData method, AnnGetUserData method, AnnRestrictCursor method, EnableRestrictToContainer property, AnnSetUserData method, AnnGetAutoBackColor method, AnnGetAutoMenuItemEnable method, AnnGetAutoText method, AnnUndoEnable property, AnnSetAutoBackColor method, AnnSetAutoDefaults method, AnnAutoMenuEnable property, AnnSetAutoMenuItemEnable method, AnnSetAutoText method

Topics:

New Annotation Features of Version 14.5

 

Annotations (Document/Medical only): Object Manipulation