![]() |
This document is archived and information here might be outdated. Recommended version. |
Simple text parser object.
The text parser used in ArcMap. This object changes the formatting of all or part of a text string.
| Interfaces | Description |
|---|---|
| IPersist (esriSystem) | |
| ITextParser | Provides access to members that parse text strings. |
The following table describes the supported tags and their syntax. See the ArcGIS for Desktop Help for more information.
|
Tag |
Syntax |
|---|---|
| Font |
<FNT name="Arial" size="18">My text</FNT> <FNT name="Arial" scale="200">My text</FNT> |
| Color | <CLR red="255" green="255" blue="255">My text</CLR> |
| Bold | <BOL>My text</BOL> |
| Italic | <ITA>My text</ITA> |
| Underline | <UND>My text</UND> |
| All Caps | <ACP>My text</ACP> |
| Small Caps | <SCP>My text</SCP> |
| Superscript | <SUP>My text</SUP> |
| Character spacing (0%=regular) | <CHR spacing="25">My text</CHR> |
| Character width (100%=regular) | <CHR width="150">My text</CHR> |
| Word spacing (100%=regular) | <WRD spacing="150">My text</WRD> |
| Leading (0 pts=regular) | <LIN leading="12">My text</LIN> |
| Un-Italic | <_ITA>My text</_ITA> |
| Un-Underline | <_UND>My text</_UND> |
| Un-Superscript | <_SUP>My text</_SUP> |
| Un-Bold | <_BOL>My text</_BOL> |
When the SimpleTextParser is used to parse text in a labeling expression, tag syntax varies slightly. Read more about this in the ArcGIS for Desktop Help under the index entry "labeling, expressions."