共用方式為


PivotTableDefinition.ColumnGrandTotals Property

Grand Totals On Columns.Represents the attribte in schema: colGrandTotals

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

Syntax

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

value = instance.ColumnGrandTotals

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

Property Value

Type: DocumentFormat.OpenXml.BooleanValue

See Also

Reference

PivotTableDefinition Class

PivotTableDefinition Members

DocumentFormat.OpenXml.Spreadsheet Namespace