ExcelPivotFieldInfo
OfficeIMO.Excel
Describes a source field in an existing pivot table.
Inheritance
- object
- ExcelPivotFieldInfo
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property ExcelPivotTableInfo.Fields
Accepted by parameters 1
- Constructor ExcelPivotTableInfo.ExcelPivotTableInfo
Constructors
public ExcelPivotFieldInfo(string fieldName, ExcelPivotTableAxis? axis = null, ExcelPivotFieldSort? sortType = null, uint? numberFormatId = null, bool? showAll = null, bool? defaultSubtotal = null, bool? subtotalTop = null, bool? insertBlankRow = null, bool? insertPageBreak = null, bool? compact = null, bool? outline = null, bool? showDropDowns = null, bool? multipleItemSelectionAllowed = null, bool? includeNewItemsInFilter = null, string? subtotalCaption = null, IReadOnlyList<string>? hiddenItems = null, string? selectedItem = null, IReadOnlyList<string>? visibleItems = null, string? numberFormatCode = null) #Creates pivot field readback information.
Parameters
- fieldName string
- axis OfficeIMO.Excel.ExcelPivotTableAxis? = null
- sortType OfficeIMO.Excel.ExcelPivotFieldSort? = null
- numberFormatId uint? = null
- showAll bool? = null
- defaultSubtotal bool? = null
- subtotalTop bool? = null
- insertBlankRow bool? = null
- insertPageBreak bool? = null
- compact bool? = null
- outline bool? = null
- showDropDowns bool? = null
- multipleItemSelectionAllowed bool? = null
- includeNewItemsInFilter bool? = null
- subtotalCaption string? = null
- hiddenItems System.Collections.Generic.IReadOnlyList<string>? = null
- selectedItem string? = null
- visibleItems System.Collections.Generic.IReadOnlyList<string>? = null
- numberFormatCode string? = null
Inherited Methods
Properties
public ExcelPivotTableAxis? Axis { get; } #Gets the pivot axis this field is assigned to, if any.
public string? NumberFormatCode { get; } #Gets the custom number format code for the field, when it can be resolved from workbook styles.
public bool? DefaultSubtotal { get; } #Gets whether the default subtotal is used.
public bool? SubtotalTop { get; } #Gets whether subtotals are shown at the top.
public bool? InsertBlankRow { get; } #Gets whether a blank row is inserted after each item.
public bool? InsertPageBreak { get; } #Gets whether a page break is inserted after each item.
public bool? Compact { get; } #Gets whether compact field layout is enabled.
public bool? Outline { get; } #Gets whether outline field layout is enabled.
public bool? ShowDropDowns { get; } #Gets whether filter drop-downs are shown for the field.
public bool? MultipleItemSelectionAllowed { get; } #Gets whether multiple item selection is allowed.
public bool? IncludeNewItemsInFilter { get; } #Gets whether new items are included in the filter by default.
public string? SubtotalCaption { get; } #Gets the custom subtotal caption.
public string? SelectedItem { get; } #Gets the selected item caption when this field is used as a page/filter field.
public IReadOnlyList<string> VisibleItems { get; } #Gets visible item captions captured from the field item list.