Share via


pgBorders element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

pgBorders element [Word 2003 XML Reference]

Specifies the page borders.

Usage

<pgBorders
    z-order="pageBorderZOrderValue"
    display="pageBorderDisplayValue"
    offset-from="pageBorderOffsetValue"
/>

Element Information

Element type pageBordersType
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

Element Description
top Represents the top page border.
left Represents the left page border.
bottom Represents the bottom page border.
right Represents the right page border.

Attributes

Attribute Type Required Description Possible Values
z-order pageBorderZOrderValue optional Specifies where the page border is positioned relative to intersecting texts and objects.
  • front
  • back
display pageBorderDisplayValue optional Specifies which pages the page border is printed on.
  • all-pages
  • first-page
  • not-first-page
offset-from pageBorderOffsetValue optional Specifies positioning of page border relative to page margin.
  • page
  • text

Definition

<xsd:element name="pgBorders" type="pageBordersType" 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