Partager via


_Worksheet.StandardWidth Property

Returns or sets the standard (default) width of all the columns in the worksheet. Read/write Double.

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

Syntax

'Declaration
Property StandardWidth As Double
    Get
    Set
'Usage
Dim instance As _Worksheet
Dim value As Double

value = instance.StandardWidth

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

Property Value

Type: System.Double

Remarks

One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace