Defines page size.

Type Information

Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name wordnet

Elements and Attributes

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
w twipsMeasureType required Gets or sets width of the page.
h twipsMeasureType required Gets or sets height of the page.
orient pageOrientationValue optional Gets or sets page orientation.
  • portrait
  • landscape
code decimalNumberType optional Gets or sets internal paper code to ensure the proper type is chosen if size matches size of multiple paper types supported by your printer.

Definition

XML

<xsd:complexType name="pageSzType" ">
    
    <xsd:attribute name="w" type="twipsMeasureType" use="required">
      
    </xsd:attribute>
    <xsd:attribute name="h" type="twipsMeasureType" use="required">
      
    </xsd:attribute>
    <xsd:attribute name="orient" type="pageOrientationValue" use="optional">
      
    </xsd:attribute>
    <xsd:attribute name="code" type="decimalNumberType">
      
    </xsd:attribute>
  </xsd:complexType>

©2006 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at:
http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp