共用方式為


PivotField.Axis Property

Axis.Represents the attribte in schema: axis

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

Syntax

'Declaration
<SchemaAttrAttribute(, "axis")> _
Public Property Axis As EnumValue(Of PivotTableAxisValues)
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As EnumValue(Of PivotTableAxisValues)

value = instance.Axis

instance.Axis = value
[SchemaAttrAttribute(, "axis")]
public EnumValue<PivotTableAxisValues> Axis { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<PivotTableAxisValues>
Returns EnumValue<T>.

See Also

Reference

PivotField Class

PivotField Members

DocumentFormat.OpenXml.Spreadsheet Namespace