Border.Weight Property

Returns or sets the weight of the border.

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

Syntax

'Declaration
Property Weight As Object
    Get
    Set
'Usage
Dim instance As Border
Dim value As Object

value = instance.Weight

instance.Weight = value
Object Weight { get; set; }

Property Value

Type: System.Object

Remarks

XlBorderWeight can be one of these XlBorderWeight constants:

xlHairline

xlThin

xlMedium

xlThick

See Also

Reference

Border Interface

Border Members

Microsoft.Office.Interop.Excel Namespace