EnableRestrictToContainer property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

VARIANT_BOOL EnableRestrictToContainer (long hObject)

Overview

Refer to Implementing Annotations.

Remarks

Indicates whether the specified annotation object(s) is(are) restricted to the container. Possible values are:

Setting

Description

VARIANT_TRUE

Restrict the object to the container.

VARIANT_FALSE

Do not restrict the object to the container.

If an object is restricted to the container, then no part of that object can be moved outside of the container using automation.

You must set the Flags property before setting this property. Possible values for the 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

To determine whether an error has occurred, check the AnnError property.

See Also

Elements:

Flags property, AnnHitTestExt method, AnnRotateAngle property

Topics:

Annotations (Document/Medical only): Object Manipulation

 

Annotations (Document/Medical only): Creating Custom Annotations