Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Introducedin
8.4
8.4
Description

Excerpt

The ShowValueAs class contains the options for showing the value of a DataField. It is equivalent to the Show Values As tab in DataField settings in Excel.

Signature
C#
C#
 public sealed class ShowValueAs

...

Example
Code Block
csharp
csharp
titleC#

          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Open("template.xlsx");
          SortOptionsShowValueAs options = wb[0].PivotTables[0].DataFields[0].ShowValueAs;
        
Code Block
vbnet
vbnet
titlevb.net

          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Open("template.xlsx")
          Dim options As SortOptionsShowValueAs = wb(0).PivotTables(0).DataFields(0).ShowValueAs;
        

...

Name

Description

BaseField

Excerpt Include
EW8:ShowValueAs.BaseFieldEW8:
ShowValueAs.BaseField
nopaneltrue

BaseIndex

Excerpt Include
EW8:ShowValueAs.BaseIndexEW8:
ShowValueAs.BaseIndex
nopaneltrue

BaseItemNext

Excerpt Include
EW8:ShowValueAs.BaseItemNextEW8:
ShowValueAs.BaseItemNext
nopaneltrue

BaseItemPrevious

Excerpt Include
EW8:ShowValueAs.BaseItemPreviousEW8:
ShowValueAs.BaseItemPrevious
nopaneltrue

ShowValueAsType

Excerpt Include
EW8:ShowValueAs.ShowValueAsTypeEW8:
ShowValueAs.ShowValueAsType
nopaneltrue

ValueType

Excerpt Include
EW8:ShowValueAs.ValueTypeEW8:
ShowValueAs.ValueType
nopaneltrue

...

Name

Description

SetShowValueAs()

Excerpt Include
EW8:ShowValueAs.SetShowValueAs (ShowValueAsType, SourceField, Int32)EW8:
ShowValueAs.SetShowValueAs (ShowValueAsType, SourceField, Int32)
nopaneltrue