LineNumbering LineNumbering LineNumbering Interface


Represents line numbers in the left margin or to the left of each newspaper-style column.

public interface class LineNumbering
public interface LineNumbering
Public Interface LineNumbering


Use the LineNumbering property to return the LineNumbering object.


Active Active Active

True if line numbering is active for the specified document, section, or sections.

Application Application Application

Returns a Application object that represents the Microsoft Word application.

CountBy CountBy CountBy

Returns or sets the numeric increment for line numbers. For example, if the CountBy property is set to 5, every fifth line will display the line number.

Creator Creator Creator

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

DistanceFromText DistanceFromText DistanceFromText

Returns or sets the distance (in points) between the right edge of line numbers and the left edge of the document text.

Parent Parent Parent

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

RestartMode RestartMode RestartMode

Returns or sets the way line numbering runs— that is, whether it starts over at the beginning of a new page or section or runs continuously.

StartingNumber StartingNumber StartingNumber

Returns or sets the starting line number.

Applies to