Flags property (TAnnHandle)

C++ Builder example

Delphi example

 

Builder Syntax

unsigned Flags

Delphi Syntax

Flags: L_UINT

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates which properties of the TAnnHandle object are valid. If the corresponding flag for a property is not set, the default values for that property will be used. Possible values may be one or more, combined using bitwise OR, of the following:

Value

Meaning

ANNHANDLE_ID

[$0001] The ID property contains valid data and should be used.

ANNHANDLE_LOCATION

[$0002] Either the ContainerX property and the ContainerY property contain valid data and should be used, or, the ClientX property and the ClientY property contain valid data and should be used.

ANNHANDLE_CONTAINER_COORDINATES

[$0004] The ContainerX property and the ContainerY property contain valid data and should be used. This flag must be set with ANNHANDLE_LOCATION.

ANNHANDLE_VISIBLE

[$0008] The Visible property contains valid data and should be used.

ANNHANDLE_PEN_COLOR

[$0010] The PenColor property contains valid data and should be used.

ANNHANDLE_FILL_COLOR

[$0020] The FillColor property contains valid data and should be used.

ANNHANDLE_SHAPE

[$0040] The Shape property contains valid data and should be used.

See Also

Elements:

AnnHandle property, AnnGetUserHandle method, AnnAddUserHandle method, ID property (TAnnHandle), ContainerX property (TAnnHandle), ContainerY property (TAnnHandle), ClientX property (TAnnHandle), ClientY property (TAnnHandle), PenColor property (TAnnHandle), FillColor property (TAnnHandle), Shape property (TAnnHandle), Visible property (TAnnHandle), Cursor property (TAnnHandle)

Topics:

Annotations: Object Manipulation