[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

pageMargins (Page Margins)

Page margins for a sheet or a custom sheet view.

[Example:

<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3"
footer="0.3"/>

end example]

Parent Elements

chartsheet3.3.1.11); customSheetView3.3.1.23); customSheetView3.3.1.22); dialogsheet3.3.1.32); worksheet3.3.1.96)

 

Attributes

Description

bottom (Bottom Page Margin)

Bottom Page Margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

footer (Footer Page Margin)

Footer Page Margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

header (Header Page Margin)

Header Page Margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

left (Left Page Margin)

Left Page Margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

right (Right Page Margin)

Right page margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

top (Top Page Margin)

Top Page Margin in inches.

 

The possible values for this attribute are defined by the XML Schema double datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_PageMargins">

   <attribute name="left" type="xsd:double" use="required"/>

   <attribute name="right" type="xsd:double" use="required"/>

   <attribute name="top" type="xsd:double" use="required"/>

   <attribute name="bottom" type="xsd:double" use="required"/>

   <attribute name="header" type="xsd:double" use="required"/>

   <attribute name="footer" type="xsd:double" use="required"/>

</complexType>