PageMargins Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.PageMargins

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

Syntax

声明
Public Class PageMargins _
    Inherits OpenXmlLeafElement
用法
Dim instance As PageMargins
public class PageMargins : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 第 1 个版本]

21.2.2.133 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

Thread Safety

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

See Also

Reference

PageMargins Members

DocumentFormat.OpenXml.Drawing.Charts Namespace