Flags property (TAnnNameOptions)

C++ Builder example

Delphi example

 

Builder Syntax

unsigned Flags

Delphi Syntax

Flags: L_UINT32

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates which TAnnNameOptions properties are valid. Possible values are one or more of the following constants "or"ed together:

Value

Meaning

ANNNAME_SHOW_NAME

[$0001] ShowName property is valid

ANNNAME_NAME

[$0002] AnnotationName property is valid

ANNNAME_OFFSET

[$0008] NameOffsetX and NameOffsetY properties are valid

ANNNAME_RESTRICT

[$0010] NameRestrict property is valid

ANNNAME_FORECOLOR

[$0020] FaceNameColor property is valid

ANNNAME_BACKCOLOR

[$0040] BackNameColor property is valid

ANNNAME_BACK_TRANSPARENT

[$0080] NameBackTransparent property is valid

ANNNAME_FONT_BOLD

[$0100] FontBold property is valid

ANNNAME_FONT_ITALIC

[$0200] FontItalic property is valid

ANNNAME_FONT_STRIKEOUT

[$0400] FontStrikeOut property is valid

ANNNAME_FONT_UNDERLINE

[$0800] FontUnderline property is valid

ANNNAME_FONT_NAME

[$1000] FontName property is valid

ANNNAME_FONT_SIZE

[$2000] FontSize property is valid

ANNNAME_FONT_INFO

(ANNNAME_FONT_BOLD +

 

ANNNAME_FONT_ITALIC +

 

ANNNAME_FONT_STRIKEOUT +

 

ANNNAME_FONT_UNDERLINE +

 

ANNNAME_FONT_SIZE +

 

ANNNAME_FONT_NAME)

ANNNAME_ALL

(ANNNAME_SHOW_NAME + All Properties are valid

 

ANNNAME_NAME +

 

ANNNAME_OFFSET +

 

ANNNAME_RESTRICT +

 

ANNNAME_FORECOLOR +

 

ANNNAME_BACKCOLOR +

 

ANNNAME_BACK_TRANSPARENT +

 

ANNNAME_FONT_INFO)

See Also

Elements:

AnnGetNameOptions method, AnnSetNameOptions method, ShowName property (TAnnNameOptions), AnnotationName property (TAnnNameOptions), NameOffsetX property (TAnnNameOptions), NameOffsetY property (TAnnNameOptions), NameRestrict property (TAnnNameOptions), FaceNameColor property (TAnnNameOptions), BackNameColor property (TAnnNameOptions), NameBackTransparent property (TAnnNameOptions), FontName property (TAnnNameOptions), FontItalic property (TAnnNameOptions), FontStrikeOut property (TAnnNameOptions), FontUnderLine property (TAnnNameOptions), FontSize property (TAnnNameOptions), AnnNameOptions property

Topics:

Annotations: Object Manipulation

 

Annotation Automation Object