Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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
Signature
vb.net
vb.net
Public NotInheritable Class ShowValueAs
Example
Code Block
csharp
csharp
titleC#

          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Open("template.xlsx");
          SortOptions 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 SortOptions = wb(0).PivotTables(0).DataFields(0).ShowValueAs;
        
Properties

Name

Description

BaseField

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

BaseIndex

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

BaseItemNext

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

BaseItemPrevious

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

ShowValueAsType

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

ValueType

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

Name

Description

SetShowValueAs()

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