AnnTextPointerFixed property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL AnnTextPointerFixed (long hObject);

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates whether the pointer of an ANN_OBJECT_TEXTPOINTER object is fixed. Possible values are:

Setting

Description

VARIANT_TRUE

The pointer of the ANN_OBJECT_TEXTPOINTER object is fixed.

VARIANT_FALSE

The pointer of the ANN_OBJECT_TEXTPOINTER moves with the object.

If this property is updated with VARIANT_TRUE, the text pointer of the object is fixed. When the text pointer is fixed, the location that the text pointer points to does not change when moving the object (either programatically or through automation).

If this property is updated with VARIANT_FALSE, the text pointer of the object is not fixed. This means that when the object is moved, the location the text pointer points to moves along with the object.

Getting or setting this property for an object other an ANN_OBJECT_TEXTPOINTER object will result in an error being set in the AnnError property.

You must set the Flags property before setting this property. Possible values for Flags Property, when used with this property, are:

0

ANN_FLAG_SELECTED

ANN_FLAG_NOTTHIS

ANN_FLAG_RECURSE

ANN_FLAG_NOTCONTAINER

ANN_FLAG_NOINVALIDATE

ANN_FLAG_CHECKMENU

See Also

Elements:

Flags property

Topics:

Annotations (Document/Medical only): Object Manipulation