Line Interface

Represents an individual line in a Rectangle object of type wdTextRectangle.

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

Syntax

'Declaration
<GuidAttribute("AE6CE2F5-B9D3-407D-85A8-0F10C63289A4")> _
Public Interface Line
'Usage
Dim instance As Line
[GuidAttribute("AE6CE2F5-B9D3-407D-85A8-0F10C63289A4")]
public interface Line

Remarks

Use the Line object and related methods and properties to programmatically define page layout in a document.

Use the Item method to return a specific Line object.

Use the LineType property to determine whether the specified line is a text line (wdTextLine) or a table row (wdTableRow). Then use the Range property to access the contents and formatting for the line.

See Also

Reference

Line Members

Microsoft.Office.Interop.Word Namespace