SharpLeaf Reference > ParagraphStyle Structure > SetBullet Method

ParagraphStyle.SetBullet Method

Set string to use for bulletted lists (defaults to empty string to disable bullets).

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


Send comments on this topic
© Dyalog Ltd 2016