Preferences Schema
DISPLAY Element
See Also  Send comments on this topic.
Preferences Schema : 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
The background color of the map.
buttonsize optional
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).
height optional xs:int
The physical screen height (in milimeters).
highlightcolor optional
The color used for highlighting selected features.
highlightwidth optional
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 xs:int
The physical screen width (in milimeters).
Sequence
SYSTEMTRAY
Used to specify system tray settings in ArcPadPrefs.apx.Used to specify system tray settings in ArcPadPrefs.apx.
MAPNAVIGATOR
Used to specify Map Navigator settings in ArcPadPrefs.apx.
TABBAR
Used to specify toolbar selector settings in ArcPadPrefs.apx.

Attributes

NameTypeUseDefaultFixedDescription
backgroundcolor optional255,255,255 The background color of the map.
buttonsize optional1 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).
heightxs:intoptional  The physical screen height (in milimeters).
highlightcolor optional255,0,0 The color used for highlighting selected features.
highlightwidth optional3 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
widthxs:intoptional  The physical screen width (in milimeters).

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 ref="pre:SYSTEMTRAY" />
      <xs:element ref="pre:MAPNAVIGATOR" />
      <xs:element ref="pre:TABBAR" />
    </xs:sequence>
    <xs:attribute default="255,255,255" name="backgroundcolor">
      <xs:annotation>
        <xs:documentation>The background color of the map.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="1" name="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 name="height" type="xs:int">
      <xs:annotation>
        <xs:documentation>The physical screen height (in milimeters).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="255,0,0" name="highlightcolor">
      <xs:annotation>
        <xs:documentation>The color used for highlighting selected features.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="3" name="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 name="width" type="xs:int">
      <xs:annotation>
        <xs:documentation>The physical screen width (in milimeters).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.