Advanced callout/multiple text element annotation parameters
The parameters listed here are used to create advanced annotation. The parameters listed include subparameters that are needed inside the XML tag to format the custom annotation. The subparameters are categorized by the following levels:
- BOLD CAPS—Main parameter
- Bold text—Level 1 subparameter
- Bold Italicized text —Level 3 subparameter
- Regular text—Level 2 subparameter
- Italicized text—Level 4 subparameter
The Level 1 subparameter is the parent of the level 2 subparameter; the level 2 subparameter is the parent of the level 3 subparameter, and so on.
Parameter |
Description |
Values |
XML tag |
---|---|---|---|
MULTIPLETEXTELEMENT |
Main tag. |
Tag |
<MultipleTextElement></MultipleTextElement> |
TextBackground |
Tag used to set properties of different parts of Background element. |
Sub-Tag(Parent MultipleTextElement) |
<TextBackground Units='Points'></TextBackground> |
Units |
Units for all the values provided. |
Points, Inches, Centimeters, Millimeters |
|
Background |
Tag used to set the background properties of element. |
Sub-Tag(Parent TextBackground) |
<Background Roundness = '10'></Background> |
Roundness |
Controls the roundness of the Annotation Background. |
0–50 |
|
Callout |
Tag used to set the callout properties of element. |
Sub-Tag(Parent TextBackground) |
<Callout Tolerance='10.0' Snap='True' Truncated='0'></Callout> |
Tolerance |
Minimum distance from the source feature to show a Callout. |
Double |
|
Snap |
If set to True, callout will draw from the nearest corner, or else it can draw from the nearest edge. |
|
|
Truncated |
The percentage of the callout that will be reduced to a simple leader line. |
0–100 |
|
Shadow |
Tag used to set the shadow properties of element. |
Sub-Tag(Parent TextBackground) |
<Shadow VerticalOffset = '0' HorizontalOffset = '0'></Shadow> |
Horizontal Offset |
Amount of offset in horizontal direction from the actual symbol. |
Double |
|
Vertical Offset |
Amount of offset in vertical direction from the actual symbol. |
Double |
|
Margins |
Tag used to set the margins of the element. |
Sub-Tag(Parent TextBackground) |
<Margins Top='2.0' Bottom='2.0' Left='2.0' Right='2.0'></Margins> |
Top |
Margin on the top side. |
Double |
|
Bottom |
Margin on the bottom side. |
Double |
|
Left |
Margin on the left side. |
Double |
|
Right |
Margin on the right side. |
Double |
|
ElementPlacement |
Tag used to set the placement of all the text elements. |
Sub-Tag(Parent TextBackground) |
|
Top |
Placement properties of Top Element. |
Sub-Tag(Parent ElementPlacement) |
<ElementPlacement><Top Style='Outside' SplitOffset='0' HAlign='Center' VAlign='Baseline'></Top></ElementPlacement> |
Style |
Position of top element relative to Top Edge. |
|
|
SplitOffset |
If there is a split, the amount of offset to increase/decrease the split. |
Double |
|
HAlign |
The horizontal alignment of the text . |
|
|
VAlign |
The vertical alignment of the text. |
|
|
Bottom |
Placement properties of Bottom Element. |
Sub-Tag(Parent ElementPlacement) |
<ElementPlacement><Bottom Style='Edge' SplitOffset='0' HAlign='Center'VAlign='Baseline'></Bottom</ElementPlacement> |
Style |
Position of top element relative to Top Edge. |
|
|
SplitOffset |
If there is a split amount of offset to increase/decrease the split. |
Double |
|
HAlign |
The horizontal alignment of the text. |
|
|
VAlign |
The vertical alignment of the text. |
|
|
Middle |
Placement properties of Middle Element. |
Sub-Tag(Parent ElementPlacement) |
<ElementPlacement><Middle HAlign='Center'VAlign='Baseline'></Middle</ElementPlacement> |
HAlign |
The horizontal alignment of the text. |
|
|
VAlign |
The vertical alignment of the text. |
|
|
Left |
Placement Properties of Left Element. |
Sub-Tag(Parent ElementPlacement) |
<ElementPlacement><Left Style='TopCorner' SplitOffset='2.0' HAlign='Center' VAlign='Baseline'></Left></ElementPlacement> |
Style |
Position of top element relative to Top Edge. |
|
|
SplitOffset |
If there is a split, amount of offset to increase/decrease the split. |
Double |
|
HAlign |
The horizontal alignment of the text. |
|
|
VAlign |
The vertical alignment of the text. |
|
|
Right |
Placement properties of Right Element. |
Sub-Tag(Parent ElementPlacement) |
<ElementPlacement><Right Style='Center' SplitOffset='0' HAlign='Center' VAlign='Baseline'></Right></ElementPlacement> |
Style |
Position of top element relative to Top Edge. |
|
|
SplitOffset |
If there is a split, amount of offset to increase/decrease the split. |
Double |
|
HAlign |
The horizontal alignment of the text. |
|
|
VAlign |
The vertical alignment of the text. |
|
|
Symbol |
Tag used to set the properties of the symbol. |
Sub-Tag(Parent Background, Shadow, Callout) |
|
Outline |
Outline of the symbol. |
Sub-Tag(Parent Symbol) |
<Symbol><Outline Width='0.2'><CLR Red='0' Green='0' Blue='87'></CLR></Outline></Symbol> |
Width |
Width and color to modify the appearance of the symbol. |
Double |
|
Fill |
If symbol has a fill color, set it here. |
Sub-Tag(Parent Symbol) |
<Symbol><Fill><CLR Red='0' Green='0' Blue='87'></CLR></Fill></Symbol> |
Arrowhead |
This draws the Arrowhead at the end of the callout with the given size and color. Remarque : Only used with callout symbol. |
Sub-Tag(Parent Symbol) |
<Symbol><Arrowhead Size = '4'><CLR Red='0' Green='0' Blue='255'></CLR></Arrowhead></Symbol> |
Size |
Size of arrowhead. |
Double |
|
TopTextElement |
Contains the text to be displayed in TopTextElement. |
Sub-Tag(Parent MultipleTextElement) |
<TopTextElement>Top</TopTextElement> |
MiddleTextElement |
Contains the text to be displayed in MiddleTextElement. |
Sub-Tag(Parent MultipleTextElement) |
<MiddleTextElement>Middle</MiddleTextElement> |
BottomTextElement |
Contains the text to be displayed in BottomTextElement. |
Sub-Tag(Parent MultipleTextElement) |
<BottomTextElement>Bottom</BottomTextElement> |
LeftTextElement |
Contains the text to be displayed in LeftTextElement. |
Sub-Tag(Parent MultipleTextElement) |
<LeftTextElement>Left</LeftTextElement> |
RightTextElement |
Contains the text to be displayed in RightTextElement. |
Sub-Tag(Parent MultipleTextElement) |
<RightTextElement>Right</RightTextElement> |
VMC |
Contains the text to be displayed in VMC Right. |
Sub-Tag(Parent MiddleTextElement ) |
<VMC>VMC</VMC> |
FloatingTextElement | Contains the text to be displayed below BottomTextElement. | Sub-Tag(Parent MultipleTextElement) | <FloatingTextElement>Floating</FloatingTextElement> |
You can achieve a "Null Color" if you use <CLR Red="-1" Green="-1" Blue="-1"></CLR>.