header Element
Specifies the header text.
Type
xsd:simpleType
Child Elements
None.
Attributes
None.
Definition
<xsd:element name="header" >
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Remarks
The header element is a child element of the printSettings element. The header text should not exceed 255 characters.
Note This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.
Example
The following is an example of the header element:
<xsf:printSettings
orientation="landscape"
header="&Pqsdf"
footer="&D"
printerName="\\printserver\printer"
paperSource="Auto Select"
paperSize="Envelope DL"
topMargin="0.8"
leftMargin="0.8"
bottomMargin="0.8"
rightMargin="0.8"
marginUnitsType="in"
copies="2"
collate="no"
pageRangeStart="1"
pageRangeEnd="1" >
<xsf:header>
<font>
<div>&Pqsdf</div>
</font>
</xsf:header>
<xsf:footer>
<font>
<div>&D</div>
</font>
</xsf:footer>
</xsf:printSettings>