共用方式為


PrintSettings.HeaderFooter Property

Header and Footer.Represents the element tag in schema: c:headerFooter

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

Syntax

'Declaration
Public Property HeaderFooter As HeaderFooter
    Get
    Set
'Usage
Dim instance As PrintSettings
Dim value As HeaderFooter

value = instance.HeaderFooter

instance.HeaderFooter = value
public HeaderFooter HeaderFooter { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Drawing.Charts.HeaderFooter
Returns HeaderFooter.

See Also

Reference

PrintSettings Class

PrintSettings Members

DocumentFormat.OpenXml.Drawing.Charts Namespace