Export (0) Print
Expand All

PageMargins class

Page Margins. When the object is serialized out as xml, its qualified name is c:pageMargins.

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class PageMargins : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

pageMargins (Page Margins)

This element specifies the page margins for a chart.

Parent Elements

printSettings (§21.2.2.148)

Attributes

Description

b (Bottom)

Specifies the contents of this attribute contain the bottom page margin in inches.

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

footer (Footer)

Specifies the contents of this attribute contain the footer margin in inches.

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

header (Header)

Specifies the contents of this attribute contain the header margin in inches.

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

l (Left)

Specifies the contents of this attribute contain the left page margin in inches.

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

r (Right)

Specifies the contents of this attribute contain the right page margin in inches.

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

t (Top)

Specifies the contents of this attribute contain the top page margin in inches.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_PageMargins) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft