ANNTEXTTOKEN

The ANNTEXTTOKEN structure contains information about the tokens for an annotation object.

Member

Description

uStructSize

Size of this structure. Use sizeof(ANNTEXTTOKEN)

cToken

Character representing the token. This can be ANY ascii character EXCEPT '#', because the token ## is reserved to display the # character.

pszDesc

Pointer to a text string that describes the token. This string appears on the text token table menu. For example, the string for token #0 in the default text token table is "Two Digit Month". The text token table menu is displayed by:

3. Click the Insert Token button. A menu for the existing text token table appears, as shown in the following figure:

4. Select the token to be inserted.

pszTokenString

This member is used only if nTokenType is ANNTOKEN_TEXT. If nTokenType is not ANNTOKEN_TEXT, then pszTokenString is ignored. The pszTokenString can be any combination of existing token strings, or any new string.

nTokenType

Identifies the type of token. Must be one of the constants in the following: