共用方式為


ChartSheet.HasPivotFields Property

Gets or sets a value that indicates whether the PivotChart controls are displayed on the specified PivotChart report.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property HasPivotFields As Boolean
bool HasPivotFields { get; set; }

Property Value

Type: System.Boolean
true if the PivotChart controls are displayed on the specified PivotChart report. The default value is true.

Remarks

For a regular Microsoft.Office.Tools.Excel.ChartSheet, this property always returns false and cannot be set.

.NET Framework Security

See Also

Reference

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace