Class OdfPivotTableFieldInfo
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Represents summary information for a pivot table field setting. 表示樞紐分析表一個欄位設定的摘要資訊。
public sealed class OdfPivotTableFieldInfo
- Inheritance
-
OdfPivotTableFieldInfo
- Inherited Members
Constructors
OdfPivotTableFieldInfo(string, string, string?, string?)
Represents summary information for a pivot table field setting. 表示樞紐分析表一個欄位設定的摘要資訊。
public OdfPivotTableFieldInfo(string sourceFieldName, string orientation, string? function, string? formula)
Parameters
sourceFieldNamestringThe source field name from
table:source-field-name. / 來源欄位名稱(table:source-field-name)。orientationstringThe field orientation from
table:orientation, such asrow,column,data, orpage. / 欄位方向(table:orientation,例如row、column、data、page)。functionstringThe data field aggregate function from
table:function, or null for non-data fields. / 資料欄位彙總函式(table:function),非資料欄位時為 null。formulastringThe calculated field formula from
table:formula, or null for non-calculated fields. / 計算欄位公式(table:formula),非計算欄位時為 null。
Properties
Formula
Gets the calculated field formula. 取得計算欄位公式。
public string? Formula { get; }
Property Value
Function
Gets the data field aggregate function. 取得資料欄位彙總函式。
public string? Function { get; }
Property Value
Orientation
Gets the field orientation. 取得欄位方向。
public string Orientation { get; }
Property Value
SourceFieldName
Gets the source field name. 取得來源欄位名稱。
public string SourceFieldName { get; }