Gets or sets the size of the symbol character for a bulleted list. If this property is 0, the size of the font for the list text is used.

Syntax

public int BulletSize { get; set; }
Public Property BulletSize() As Integer

Examples

The following example sets the value of BulletSize property as 0. If this property is 0, the size of the font for the list text is used.

TXTextControl.ListFormat lf = new TXTextControl.ListFormat();

lf.Type = TXTextControl.ListType.Numbered;
lf.BulletCharacter = '>';
lf.BulletSize = 0;
lf.FirstNumber = 5;

textControl1.Selection.ListFormat = lf;
Dim lf As TXTextControl.ListFormat = New TXTextControl.ListFormat()

lf.Type = TXTextControl.ListType.Numbered
lf.BulletCharacter = ">"c
lf.BulletSize = 0
lf.FirstNumber = 5

TextControl1.Selection.ListFormat = lf

Remarks

The property's default value is 0.

The property returns its default value when the text selection contains multiple paragraphs with mixed bullet sizes or when the text selection does not contain a bulleted list. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.