AnnTextPointerFixed property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool AnnTextPointerFixed[HANNOBJECT hObject]

Delphi Syntax

AnnTextPointerFixed[hObject: HANNOBJECT]: Boolean

Overview

Refer to Implementing Annotations.

Remarks

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

Setting

Description

TRUE

The pointer of the ANNOBJECT_TEXTPOINTER object is fixed.

FALSE

The pointer of the ANNOBJECT_TEXTPOINTER moves with the object.

If this property is updated with 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 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 ANNOBJECT_TEXTPOINTER object will result in an error.

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

0

ANNFLAG_SELECTED

ANNFLAG_NOTTHIS

ANNFLAG_RECURSE

ANNFLAG_NOTCONTAINER

ANNFLAG_NOINVALIDATE

ANNFLAG_CHECKMENU

See Also

Elements:

AnnFlags property

Topics:

Annotations: Object Manipulation