pageSzType complexType [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

pageSzType complexType [Word 2003 XML Reference]

Defines page size.

Type Information

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

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

<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>

©2004 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/odcXMLRefLegalNotice.asp