TokenType property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

AnnTokenTextType TokenType;

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates the type of token. Must be one of the constants in the following table:

ANN_TOKEN_NONE

[0] String not treated as a token

ANN_TOKEN_SEPARATOR

[1] Add a separator to the automation token menu

ANN_TOKEN_TEXT

[2] A text string

ANN_TOKEN_DATE_YYYY

[3] Current four digit year

ANN_TOKEN_DATE_YY

[4] Current two digit year

ANN_TOKEN_DATE_MM

[5] Two digit representation of current month

ANN_TOKEN_DATE_DD

[6] Two digit representation of current day

ANN_TOKEN_DATE_MONTH_NAME

[7] Current month name (i.e. January)

ANN_TOKEN_DATE_DAY_OF_WEEK

[8] Current day of week (i.e. Monday)

ANN_TOKEN_TIME_HH_12

[9] Current hour,using a 12 hour clock

ANN_TOKEN_TIME_HH_24

[10] Current hour, using a 24 hour clock

ANN_TOKEN_TIME_MM

[11] Current minute (00-59)

ANN_TOKEN_TIME_SS

[12] Current second (00-59)

ANN_TOKEN_TIME_MILLISECONDS

[13] Current milliseconds (000-999)

ANN_TOKEN_AM_PM

[14] Time of day indicator (AM or PM)

See Also

Elements:

EnumerateTextTokenTable event, Description property, Token property, TokenString property, AnnInsertTokenTable method, AnnDeleteTokenTable method, AnnClearTokenTable method, EnableFireEnumerateTextTokenTableEvent property, StopFireEnumerateTextTokenTableEvent property, AnnEnumerateTextToken method, OnEnumerateTextTokenTable event

Topics:

Annotations (Document/Medical only): Automation