Slicer.NumberOfColumns Property
Gets or sets the number of columns in the specified slicer.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property NumberOfColumns As Integer
Get
Set
'Usage
Dim instance As Slicer
Dim value As Integer
value = instance.NumberOfColumns
instance.NumberOfColumns = value
int NumberOfColumns { get; set; }
Property Value
Type: System.Int32
The number of columns in the specified slicer. The default is 1.
Remarks
Read/write.
The default value is 1.