Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
header Element
Collapse the table of content
Expand the table of content

header Element

Office 2007

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.

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>


Community Additions

ADD
Show:
© 2015 Microsoft