ODF .NET Class Library
Show/Hide TOC

# LineNumberingConfiguration Class

Represents line numbering.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class LineNumberingConfiguration

VB

    Public Class LineNumberingConfiguration

Inheritance
  Object LineNumberingConfiguration

## Constructors

LineNumberingConfiguration | Initializes a new instance of the LineNumberingConfiguration class.

## Properties

CountEmptyLines | Specifies whether empty lines are included in the line count. The defined values for the attribute are: -false: empty lines are not included in a line count. -true: empty lines are included in a line count. The default value for this attribute is true.
CountLinesInTextBoxes | Specifies whether text in text boxes is included in the line count. If the value of this attribute is true, text within text boxes is included in the line count. The defined values for the text:count-in-text-boxes attribute are: -false: text within text boxes is not included in a line count. -true: text within text boxes is included in a line count. The default value for this attribute is false.
Increment | Contains the line numbers to be numbered as multiples of a specified increment.
LineNumberingEnabled | Specifies whether lines are numbered.
NumberFormat | Contains the numbering sequence.
Offset | Contains the distance between a line number and the margin.
Position | Contains the margin where line numbers appear.
RestartOnPage | Specifies whether the line count is reset to 1 at the start of every page. The defined values for the text:restart-on-page attribute are: -false: line count is not reset, resulting in document-specific numbering of lines. -true: line count is reset to 1 at the beginning of every page, resulting in page-specific line numbering. The default value for this attribute is false.
Separator | Contains the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.
Style | Contains the text style.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current LineNumberingConfiguration object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace