Edit

Share via


Word.Interfaces.LineNumberingUpdateData interface

An interface for updating data on the LineNumbering object, for use in lineNumbering.set({ ... }).

Properties

countBy

Specifies the numeric increment for line numbers.

distanceFromText

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

isActive

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

restartMode

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

startingNumber

Specifies the starting line number.

Property Details

countBy

Specifies the numeric increment for line numbers.

countBy?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.3 ]

distanceFromText

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

distanceFromText?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.3 ]

isActive

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

isActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.3 ]

restartMode

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

restartMode?: Word.NumberingRule | "RestartContinuous" | "RestartSection" | "RestartPage";

Property Value

Word.NumberingRule | "RestartContinuous" | "RestartSection" | "RestartPage"

Remarks

[ API set: WordApiDesktop 1.3 ]

startingNumber

Specifies the starting line number.

startingNumber?: number;

Property Value

number

Remarks

[ API set: WordApiDesktop 1.3 ]