Remarks
The property's default value is 360 twips.
The property returns 0 when the text selection contains multiple paragraphs with mixed hanging indents or when the text selection does not contain a bulleted or a numbered list. The Selection.
Gets or sets the hanging indent of a numbered list.
public int HangingIndent { get; set; }
Public Property HangingIndent() As Integer
The following example sets the 'Hanging
TXTextControl.ListFormat lf = new TXTextControl.ListFormat();
lf.Type = TXTextControl.ListType.Numbered;
lf.FirstNumber = 5;
lf.FontName = "Calibri";
lf.BulletCharacter = '>';
lf.BulletSize = 12;
lf.FormatCharacter = TXTextControl.ListFormatCharacter.Tab;
lf.HangingIndent = 370;
textControl1.Selection.ListFormat = lf;
Dim lf As TXTextControl.ListFormat = New TXTextControl.ListFormat()
lf.Type = TXTextControl.ListType.Numbered
lf.FirstNumber = 5
lf.FontName = "Calibri"
lf.BulletCharacter = ">"
lf.BulletSize = 12
lf.FormatCharacter = TXTextControl.ListFormatCharacter.Tab
lf.HangingIndent = 370
TextControl1.Selection.ListFormat = lf
The property's default value is 360 twips.
The property returns 0 when the text selection contains multiple paragraphs with mixed hanging indents or when the text selection does not contain a bulleted or a numbered list. The Selection.