Share via


Borders.LineStyle Property

Returns or sets the line style for the border.

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

Syntax

'Declaration
Property LineStyle As Object
    Get
    Set
'Usage
Dim instance As Borders
Dim value As Object

value = instance.LineStyle

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

Property Value

Type: System.Object

Remarks

XlLineStyle can be one of these XlLineStyle constants:

xlContinuous

xlDash

xlDashDot

xlDashDotDot

xlDot

xlDouble

xlSlantDashDot

xlLineStyleNone

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.Excel Namespace