共用方式為


PageMargins.Header Property

Definition

Header

Represents the following attribute in the schema: header

[DocumentFormat.OpenXml.SchemaAttr(0, "header")]
public DocumentFormat.OpenXml.DoubleValue Header { get; set; }
public DocumentFormat.OpenXml.DoubleValue Header { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "header")]
public DocumentFormat.OpenXml.DoubleValue? Header { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("header")]
public DocumentFormat.OpenXml.DoubleValue? Header { get; set; }
public DocumentFormat.OpenXml.DoubleValue? Header { get; set; }
member this.Header : DocumentFormat.OpenXml.DoubleValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "header")>]
member this.Header : DocumentFormat.OpenXml.DoubleValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("header")>]
member this.Header : DocumentFormat.OpenXml.DoubleValue with get, set
Public Property Header As DoubleValue

Property Value

Returns DoubleValue.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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

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

Applies to