Compartilhar via


Shape.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 Shape
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.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace