共用方式為


PivotTableDefinition.ShowHeaders Property

Show Field Headers.Represents the attribte in schema: showHeaders

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "showHeaders")> _
Public Property ShowHeaders As BooleanValue
    Get
    Set
'Usage
Dim instance As PivotTableDefinition
Dim value As BooleanValue

value = instance.ShowHeaders

instance.ShowHeaders = value
[SchemaAttrAttribute(, "showHeaders")]
public BooleanValue ShowHeaders { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue

See Also

Reference

PivotTableDefinition Class

PivotTableDefinition Members

DocumentFormat.OpenXml.Spreadsheet Namespace