ShapeRange.Line Property
Returns a LineFormat object that contains line formatting properties for the specified shape. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Line As LineFormat
Get
'Usage
Dim instance As ShapeRange
Dim value As LineFormat
value = instance.Line
LineFormat Line { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.LineFormat
Remarks
For a line, the LineFormat object represents the line itself; for a shape with a border, the LineFormat object represents the border.