BACKGROUND  Examples

Used in:  CONFIG   REQUEST  
Servers:  Image   ArcMap  
Parent elements:  PROPERTIES  

<BACKGROUND Attribute Description Table

     color ="0,0,0 - 255,255,255"
     transcolor ="0,0,0 - 255,255,255"
>

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


Description:


Restrictions:


Notes:


Attribute Descriptions for BACKGROUND:

Attribute Usage Back to Top
color 1 Background color for map using RGB values.
transcolor 2 Transparent color in output image using RGB values. Only supported for GIF and PNG output formats.
 

Examples for BACKGROUND:

Example 1: Included in the PROPERTIES section for both CONFIG and REQUEST. 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="-178.21" miny="18.92" maxx="-66.96" maxy="71.41" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
        <BACKGROUND color="255,255,255" transcolor="255,255,255"/>
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CITIES" visible="true" id="2">
      <DATASET name="CITIES" type="point" workspace="shp_ws-0" />
      <SIMPLERENDERER>
        <SIMPLEMARKERSYMBOL type="square" width="5" />
      </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>