Word.Interfaces.LineNumberingData interface
An interface describing the data returned by calling lineNumbering.toJSON().
Properties
| count |
Specifies the numeric increment for line numbers. |
| distance |
Specifies the distance (in points) between the right edge of line numbers and the left edge of the document text. |
| is |
Specifies if line numbering is active for the specified document, section, or sections. |
| restart |
Specifies the way line numbering runs; that is, whether it starts over at the beginning of a new page or section, or runs continuously. |
| starting |
Specifies the starting line number. |
Property Details
countBy
Specifies the numeric increment for line numbers.
countBy?: number;
Property Value
number
Remarks
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
isActive
Specifies if line numbering is active for the specified document, section, or sections.
isActive?: boolean;
Property Value
boolean
Remarks
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
startingNumber
Specifies the starting line number.
startingNumber?: number;
Property Value
number