Remarks
The property's default value is 1.
The property returns its default value when the text selection contains multiple paragraphs with mixed starting numbers or when the text selection does not contain a numbered list. The Selection.
Gets or sets the starting number for a numbered list.
public int FirstNumber { get; set; }
Public Property FirstNumber() As Integer
The following example sets value 5 as the starting number for a numbered list using property First
TXTextControl.ListFormat lf = new TXTextControl.ListFormat();
lf.Type = TXTextControl.ListType.Numbered;
lf.FirstNumber = 5;
lf.BulletCharacter = '>';
lf.BulletSize = 12;
textControl1.Selection.ListFormat = lf;
Dim lf As TXTextControl.ListFormat = New TXTextControl.ListFormat()
lf.Type = TXTextControl.ListType.Numbered
lf.FirstNumber = 5
lf.BulletCharacter = ">"
lf.BulletSize = 12
TextControl1.Selection.ListFormat = lf
The property's default value is 1.
The property returns its default value when the text selection contains multiple paragraphs with mixed starting numbers or when the text selection does not contain a numbered list. The Selection.