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)

No code example is currently available or this language may not be supported.

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.

Show: