Share via


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

pageMarType complexType [Word 2003 XML Reference]

Defines page margins (the blank space around the edges of the page).

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
top signedTwipsMeasureType required Gets or sets the distance between the top edge of the page and the top of the first line on the page.
right twipsMeasureType required Gets or sets the distance between the right edge of the page and the right end of a line with no right indent.
bottom signedTwipsMeasureType required Gets or sets distance between the bottom edge of the page and the bottom of the last line on the page.
left twipsMeasureType required Gets or sets the distance between the left edge of the page and the left edge of unindented lines.
header twipsMeasureType required Gets or sets the distance from the top edge of the paper to the top edge of the header.
footer twipsMeasureType required Gets or sets the distance from the bottom edge of the paper to the bottom edge of the footer.
gutter twipsMeasureType required Gets or sets the amount of extra space added to the margin for document binding.

Definition

<xsd:complexType name="pageMarType" >
  <xsd:attribute name="top" type="signedTwipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="right" type="twipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="bottom" type="signedTwipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="left" type="twipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="header" type="twipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="footer" type="twipsMeasureType" use="required">
  </xsd:attribute>
  <xsd:attribute name="gutter" type="twipsMeasureType" use="required">
  </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