Share via


Slicer.ColumnWidth Property

Gets or sets the width, in points, of each column in the slicer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ColumnWidth As Double
    Get
    Set
'Usage
Dim instance As Slicer
Dim value As Double

value = instance.ColumnWidth

instance.ColumnWidth = value
double ColumnWidth { get; set; }

Property Value

Type: System.Double
The width, in points, of each column in the slicer.

Remarks

Read/write.

The ColumnWidth property of the Slicer object is automatically adjusted based on the value of the ColumnWidth property and the NumberOfColumns property.

See Also

Reference

Slicer Interface

Slicer Members

Microsoft.Office.Interop.Excel Namespace