SharpLeaf Reference > ParagraphStyle Structure > SetBullet Method ParagraphStyle.SetBullet Method
Set string to use for bulletted lists (defaults to empty string to disable bullets).
The horizontal spacing around the bullet is controlled by ParagraphStyle.HorizontalGap.
Overloads
Example
style.SetBullet("{1}."); // Numbered bullet with a dot
Description
You can insert special strings to display the bullet counter (see SharpLeaf.BulletCount)
-
{1}
- Decimal number
-
{A}
- Upper-case alphabet
-
{a}
- Lower-case alphabet
-
{I}
- Upper-case roman numerals
-
{i}
- Lower-case roman numerals
If these keywords need to be used as text, the closing braces can be escaped with a backslash, so that “\}” renders as “}”.
See also ...SharpLeaf.BulletCount Property | ParagraphStyle.Members | ParagraphStyle.HorizontalGap Property
Send comments on this topic © Dyalog Ltd 2021
|