UIFONT  Examples

Used in:  CONFIG   RESPONSE   Application Server RESPONSE  
Parent elements:  ENVIRONMENT  

<UIFONT Attribute Description Table

     name ="Any system font"
     color ="0,0,0 - 255,255,255"
     size ="1 - NNN"
     style ="regular | bold | italic | underline | outline | bolditalic"
>

     No Child Elements
</UIFONT >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for UIFONT:

Attribute Usage Back to Top
color Font color using RGB values.
name 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.
size Font size.
style Font style.
 

Examples for UIFONT:

Example 1: When in an application server RESPONSE to GETCLIENTSERVICES. Back to Top
<?xml version="1.0"?>
<ARCXML version="1.1">
<RESPONSE>
  <SERVICES>
    <SERVICE name="world_image" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" desc=""  status="ENABLED" >
      <ENVIRONMENT>
        <LOCALE country="US" language="en" />
        <UIFONT name="Arial" />
      </ENVIRONMENT>
      <CLEANUP interval="20" />
    </SERVICE>
  </SERVICES>
</RESPONSE>
</ARCXML>

Example 2: When in CONFIG. 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,0" miny="-90,0" maxx="180,0" maxy="90,0" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-18" directory="<path to WORLD ESRIDATA>" />
      </WORKSPACES>
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-18" />
        <SIMPLERENDERER>
          <SIMPLEPOLYGONSYMBOL fillcolor="127,227,127" filltype="solid" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>