TEXTMARKERSYMBOL | Examples |
<TEXTMARKERSYMBOL | Attribute
Description Table |
angle ="0.0 - 360.0" [0]
antialiasing ="true | false" [false] blockout ="0,0,0 - 255,255,255" font ="Any system font" [Arial] fontcolor ="0,0,0 - 255,255,255" [0,0,0] fontsize ="1 - NNN" [10] fontstyle ="regular | bold | italic | underline | outline | bolditalic" [regular] glowing ="0,0,0 - 255,255,255" halignment ="left | center | right" [right] interval ="0 - NNN" [0] outline ="0,0,0 - 255,255,255" overlap ="true | false" [true] printmode ="titlecaps | allupper | alllower | none" [none] transparency ="0.0 - 1.0" [1.0] valignment ="top | center | bottom" [top] > No child elements </TEXTMARKERSYMBOL > |
Attribute | Usage | Back to Top |
---|---|---|
angle | Angle of rotation in degrees moving counterclockwise; 0 degrees is horizontal. | |
antialiasing | Used to make edges of labels and symbols smoother. When set to true, antialiasing is active. Note that the time to generate a map may significantly increase when antialiasing is turned on. | |
blockout | Provides a background behind text. Select color using RGB values. | |
font | Font name. The name is case sensitive. If font name uses "&", use "&" instead. For example, ESRI Transportation & Civic should be written as ESRI Transportation & Civic. For Feature MapServices, the font must reside on the client machine or else the system default font is used. | |
fontcolor | Font color using RGB values. | |
fontsize | Font size. | |
fontstyle | Font style. | |
glowing | Glow color around text using RGB values. | |
halignment | Horizontal alignment of label compared to label point. | |
interval | Distance between point and printed label. | |
outline | Outline color using RGB values. | |
overlap | Determines if labels can overlap this symbol. When true, labels can overlap. When false, labels will not overlap the symbol. If labels are not drawing as expected, check if overlap is set to false for this symbol or any other symbol in the MapService. | |
printmode | Determines how labels are printed. If "none" is used, no change is made to the label: Welcome to ArcIMS. If "alllower" is used, all letters are lowercase: welcome to arcims. If "allupper" is used, all letters are uppercase: WELCOME TO ARCIMS. If "titlecaps" is used, the first letter of each word in a label is uppercase and everything else is lowercase: Welcome To Arcims. | |
transparency | Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent. | |
valignment | Vertical alignment of label compared to label point. |
Example 1: When in an acetate layer in a map configuration file or REQUEST. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" /> <IMAGESIZE width="643" height="502" /> </PROPERTIES> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="pixel"> <TEXT coords="100 100" label="You are here"> <TEXTMARKERSYMBOL font="Arial" /> </TEXT> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |