UIFONT

Used in

CONFIG  RESPONSE  Application Server RESPONSE  

Parent elements

ENVIRONMENT 

Syntax

<UIFONTAttribute Description Table
     (r)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 >
(r): Attribute or child element is required.

Description

Sets a default font for the dialogs in ArcExplorer-Java Edition and the ArcIMS Java Viewers.

Notes


Attribute Descriptions for UIFONT

AttributeUsage
colorFont color using RGB values.
nameFont 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.
sizeFont size.
styleFont style.
Back to top 

Examples for UIFONT

Example 1: When in CONFIG.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="DE" language="de" 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" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </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>

Example 2: When in an application server RESPONSE to GETCLIENTSERVICES.
<?xml version="1.0"?>
<ARCXML version="1.1">
  <RESPONSE>
    <SERVICES>
      <SERVICE name="europe" servicegroup="ImageServer1" access="PUBLIC" type="ImageServer" version=""  status="ENABLED" >
        <IMAGE type="JPG" />
        <ENVIRONMENT>
          <LOCALE country="US" language="en" variant="" />
          <UIFONT name="Arial" />
        </ENVIRONMENT>
        <CLEANUP interval="10" />
      </SERVICE>
    </SERVICES>
  </RESPONSE>
</ARCXML>

Back to top