ArcPad Preferences File Schema
DISPLAY Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element > PREFERENCES Element : DISPLAY Element

Glossary Item Box

Description

Used to define display settings in ArcPadPrefs.apx.

Diagram

TABBAR Element MAPNAVIGATOR Element SYSTEMTRAY Element Sequence DISPLAY Element

Overview

DISPLAY
Used to define display settings in ArcPadPrefs.apx.
backgroundcolor optional xs:string
buttonsize optional Restriction of xs:int
Specifies the scale factor for the size of toolbar buttons on this toolbar. For example, a value of 2 makes toolbar buttons twice as large as the standard size (16X16). This setting overrides the buttonsize attribute in the DISPLAY element (in ArcPadPrefs.apx).
height optional Restriction of xs:int
highlightcolor optional xs:string
The color used for highlighting selected features.
highlightwidth optional xs:int
The width of the highlighted outline drawn around selected features in pixels.
panframe optional Restriction of xs:string
Determines whether the panning frame is displayed around the map.
panframesize optional xs:int
The width of the panning frame in pixels.
tolerance optional xs:int
The pen tolerance for selecting a feature in pixels.
units optional Restriction of xs:string
The map display units. 0: Metric 1: Statute 2: Nautical
width optional Restriction of xs:int
Sequence
SYSTEMTRAY
Used to specify system tray settings in ArcPadPrefs.apx.
gps optional Restriction of xs:string
Flag that determines whether the GPS status is displayed in the system tray.
visible optional Restriction of xs:string
applicationbutton optional Restriction of xs:string
dock optional xs:string
selector optional Restriction of xs:string

Attributes

NameTypeUseDefaultFixedDescription
backgroundcolorxs:stringoptional   
buttonsizeRestriction of xs:intoptional1 Specifies the scale factor for the size of toolbar buttons on this toolbar. For example, a value of 2 makes toolbar buttons twice as large as the standard size (16X16). This setting overrides the buttonsize attribute in the DISPLAY element (in ArcPadPrefs.apx).
heightRestriction of xs:intoptional   
highlightcolorxs:stringoptional255,0,0 The color used for highlighting selected features.
highlightwidthxs:intoptional3 The width of the highlighted outline drawn around selected features in pixels.
panframeRestriction of xs:stringoptionalfalse Determines whether the panning frame is displayed around the map.
panframesizexs:intoptional10 The width of the panning frame in pixels.
tolerancexs:intoptional5 The pen tolerance for selecting a feature in pixels.
unitsRestriction of xs:stringoptional0 The map display units. 0: Metric 1: Statute 2: Nautical
widthRestriction of xs:intoptional   

Remarks

If the width and height are not provided, a default calculation is used, based on available operating system APIs. If the exact physical dimensions are provided, ArcPad can render the scale precisely (in other words, 1:1000 on the display will match a printed 1:1000 map with no error).

Examples

Source

<xs:element name="DISPLAY" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define display settings in ArcPadPrefs.apx.
</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="SYSTEMTRAY">
        <xs:complexType>
          <xs:attribute default="true" name="gps">
            <xs:annotation>
              <xs:documentation>Flag that determines whether the GPS status is displayed in the system tray.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="MAPNAVIGATOR">
        <xs:complexType>
          <xs:attribute ref="visible" />
        </xs:complexType>
      </xs:element>
      <xs:element name="TABBAR">
        <xs:complexType>
          <xs:attribute default="false" name="applicationbutton">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="top" name="dock" type="xs:string" />
          <xs:attribute default="false" name="selector">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute default="255,255,255" ref="backgroundcolor">
      <xs:annotation>
        <xs:documentation>The background color of the map.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="1" ref="buttonsize">
      <xs:annotation>
        <xs:documentation>Specifies the scale factor for the size of toolbar buttons. For example, a value of 2 makes toolbar buttons twice as large as the standard size (16X16).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="height">
      <xs:annotation>
        <xs:documentation>The physical screen height (in milimeters).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="255,0,0" ref="highlightcolor">
      <xs:annotation>
        <xs:documentation>The color used for highlighting selected features.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="3" ref="highlightwidth">
      <xs:annotation>
        <xs:documentation>The width of the highlighted outline drawn around selected features in pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" name="panframe">
      <xs:annotation>
        <xs:documentation>Determines whether the panning frame is displayed around the map.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="10" name="panframesize" type="xs:int">
      <xs:annotation>
        <xs:documentation>The width of the panning frame in pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="5" name="tolerance" type="xs:int">
      <xs:annotation>
        <xs:documentation>The pen tolerance for selecting a feature in pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="0" name="units">
      <xs:annotation>
        <xs:documentation>The map display units. 0: Metric 1: Statute 2: Nautical</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="0" />
          <xs:enumeration value="1" />
          <xs:enumeration value="2" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute ref="width">
      <xs:annotation>
        <xs:documentation>The physical screen width (in milimeters).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.