Description
Used to specify the label font for ArcPad in ArcPadPrefs.apx and to define a Label control in a form.
Diagram
Overview
![](xsdimages/element.png) |
LABEL
Used to specify the label font for ArcPad in ArcPadPrefs.apx and to define a Label control in a form.
![](xsdimages/attributeref.png) |
height required Restriction of xs:int
|
![](xsdimages/attributeref.png) |
width required Restriction of xs:int
|
![](xsdimages/attribute.png) |
x required xs:int
The x coordinate of the upper left corner of the label.
|
![](xsdimages/attribute.png) |
y required xs:int
The y coordinate of the upper left corner of the label.
|
![](xsdimages/attributeref.png) |
alignment optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
backgroundcolor optional xs:string
|
![](xsdimages/attributeref.png) |
border optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
caption optional xs:string
|
![](xsdimages/attributeref.png) |
color optional xs:string
|
![](xsdimages/attributeref.png) |
font optional xs:string
|
![](xsdimages/attributeref.png) |
fontsize optional Restriction of xs:int
|
![](xsdimages/attributeref.png) |
fontstyle optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
group optional Restriction of xs:string
|
![](xsdimages/attributeref.png) |
name optional xs:string
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
height | Restriction of xs:int | required | | | |
width | Restriction of xs:int | required | | | |
x | xs:int | required | | | The x coordinate of the upper left corner of the label. |
y | xs:int | required | | | The y coordinate of the upper left corner of the label. |
alignment | Restriction of xs:string | optional | left | | |
backgroundcolor | xs:string | optional | | | |
border | Restriction of xs:string | optional | false | | |
caption | xs:string | optional | | | |
color | xs:string | optional | | | |
font | xs:string | optional | | | |
fontsize | Restriction of xs:int | optional | | | |
fontstyle | Restriction of xs:string | optional | regular | | |
group | Restriction of xs:string | optional | false | | |
name | xs:string | optional | | | |
Examples
Source
<xs:element name="LABEL" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to specify the label font for ArcPad in ArcPadPrefs.apx and to define a Label control in a form.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" ref="height">
<xs:annotation>
<xs:documentation>The height of the label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" ref="width">
<xs:annotation>
<xs:documentation>The width of the label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="x" type="xs:int">
<xs:annotation>
<xs:documentation>The x coordinate of the upper left corner of the label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="y" type="xs:int">
<xs:annotation>
<xs:documentation>The y coordinate of the upper left corner of the label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="left" ref="alignment">
<xs:annotation>
<xs:documentation>The alignment of the label's caption.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="backgroundcolor">
<xs:annotation>
<xs:documentation>The background color to use for the label. If not specified, this value is inherited from the page's backgroundcolor attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" ref="border">
<xs:annotation>
<xs:documentation>Specifies whether the label has a border.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="caption">
<xs:annotation>
<xs:documentation>The text displayed for the label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="color">
<xs:annotation>
<xs:documentation>The color to use for the label's text. If not specified, this value is inherited from the page's color attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="font">
<xs:annotation>
<xs:documentation>The font for the label. If not specified, this value is inherited from the page's font attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="fontsize">
<xs:annotation>
<xs:documentation>The font size for the label. If not specified, this value is inherited from the page's fontsize attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="regular" ref="fontstyle">
<xs:annotation>
<xs:documentation>The font style for the label. If not specified, this value is inherited from the page's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" ref="group">
<xs:annotation>
<xs:documentation>Specifies whether the label starts a new group of controls.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="name">
<xs:annotation>
<xs:documentation>The name of the Label control. Used to reference the Label control in scripts.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also