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)

[GuidAttribute("AE6CE2F5-B9D3-407D-85A8-0F10C63289A4")]
public interface Line

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:
© 2014 Microsoft