Share via


Line Members (Word)

Represents an individual line in a Rectangle object of type wdTextRectangle. Use the Line object and related methods and properties to programmatically define page layout in a document.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Height

Returns or sets the height of a line.

Left

Returns a Long that represents the number of pixels from the left edge of the page to the left edge of a line.

LineType

Returns a wdLineType constant that indicates whether a line is a text line or a table row.

Parent

Returns an Object that represents the parent object of the specified Line object.

Range

Returns a Range object that represents the portion of a document that is contained within a line.

Rectangles

Returns a Rectangles collection that represents a portion of text or graphics in a page in a document.

Top

Returns a Long that represents the number of pixels from the top of the page to the top of a line.

Width

Returns or sets the width, in points, of a line. Read/write Long.