pgSz element [Word 2003 XML Reference] -- Microsoft Office Word 2003 XML Software Development Kit
pgSz element [Word 2003 XML Reference]
Specifies the size and orientation of this page.
Usage
<pgSz
w="twipsMeasureType"
h="twipsMeasureType"
orient="pageOrientationValue"
code="decimalNumberType"
/>
Element Information
Element type | pageSzType |
Namespace | http://schemas.microsoft.com/office/word/2003/wordml |
Schema name | XML Document 2003 |
Elements and Attributes
Parent Elements
Element | Description |
---|---|
sectPr | Represents section properties for section that terminates at this paragraph mark. |
sectPr | Represents the section properties for the very last section in the document. |
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. |
|
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:element name="pgSz" type="pageSzType" minOccurs="0" >
</xsd:element>
©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