TEXTSYMBOL  Examples

Used in:  CONFIG   REQUEST   RESPONSE  
Servers:  Image   Feature  
Parent elements:  EXACT   OTHER   RANGE   SIMPLELABELRENDERER  

<TEXTSYMBOL Attribute Description Table

     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"  [12]
     fontstyle ="regular | bold | italic | underline | outline | bolditalic"  [regular]
     glowing ="0,0,0 - 255,255,255"
     interval ="0 - NNN"  [0]
     outline ="0,0,0 - 255,255,255"
     printmode ="titlecaps | allupper | alllower | none"  [none]
     shadow ="0,0,0 - 255,255,255"
     transparency ="0.0 - 1.0"  [1.0]
>

     No Child Elements
</TEXTSYMBOL >


Description:


Restrictions:


Notes:


Attribute Descriptions for TEXTSYMBOL:

Attribute Usage Back to Top
antialiasing 1 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 2 Provides a background behind text. Select color using RGB values.
font 3 Font name. The name is case sensitive. If font name uses "&", use "&amp;" instead. For example, ESRI Transportation & Civic should be written as ESRI Transportation &amp; Civic. For Feature Services, the font must reside on the client machine or else the system default font is used.
fontcolor 4 Font color using RGB values.
fontsize 5 Font size.
fontstyle 6 Font style.
glowing 7 Glow color around text using RGB values.
interval 8 Distance in pixels from point 0.
outline 9 Outline color using RGB values.
printmode 10 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.
shadow 11 Shadow color using RGB values.
transparency 12 Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
 

Examples for TEXTSYMBOL:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
      <SCREEN dpi="96" />
    </ENVIRONMENT>
    <MAP>
      <PROPERTIES>
        <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-0" />
        <GROUPRENDERER>
          <SIMPLELABELRENDERER field="NAME">
            <TEXTSYMBOL transparency="0.8" printmode="titlecaps" antialiasing="true" font="Courier New" fontstyle="bolditalic" fontsize="12" glowing="255,0,255" shadow="255,200,0" fontcolor="0,255,100" blockout="124,124,124" interval="3" />
          </SIMPLELABELRENDERER>
          <SIMPLERENDERER>
            <SIMPLEPOLYGONSYMBOL filltransparency="1.0" filltype="solid" fillcolor="227,27,27" boundarytype="solid" boundarywidth="1" boundarycolor="0,0,0" />
          </SIMPLERENDERER>
        </GROUPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>