Partager via


ShapeRange.Line Property

Returns a LineFormat object that contains line formatting properties for the specified shape.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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.Word.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

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace