Edit

Share via


LineNumbering Interface

Definition

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

public interface class LineNumbering
[System.Runtime.InteropServices.Guid("00020972-0000-0000-C000-000000000046")]
public interface LineNumbering
type LineNumbering = interface
Public Interface LineNumbering
Attributes

Remarks

Use the LineNumbering property to return the LineNumbering object.

Properties

Active

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

Application

Returns a Application object that represents the Microsoft Word application.

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

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

DistanceFromText

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

Parent

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

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

Returns or sets the starting line number.

Applies to