[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.LineNumbering

Class LineNumbering

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents settings for line numbering to be displayed before each column of text in the section.

public class LineNumbering
Inheritance
object
LineNumbering
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Active

Gets or sets a value indicating whether line numbering is active for the section.

public bool Active { get; set; }

Property Value

bool

CountBy

Gets or sets the numeric increment for line numbers.

public short CountBy { get; set; }

Property Value

short

DistanceFromText

Gets or sets the distance between the text margin and the edge of any line numbers appearing in the section.

Set this property to zero for automatic distance.

public float DistanceFromText { get; set; }

Property Value

float

RestartMode

Gets or sets a value specifying when line numbering restarts (whether it restarts at evry page, at each secion or runs continuously).

public LineNumberRestartMode RestartMode { get; set; }

Property Value

LineNumberRestartMode

StartingNumber

Gets or sets the starting line number.

public short StartingNumber { get; set; }

Property Value

short

Methods

ClearFormatting()

Resets line numbering properties to default values.

public void ClearFormatting()