Back to Devexpress

NumberingListBulletFormat Enum

officefileapi-devexpress-dot-docs-dot-presentation-df1ac4f8.md

latest15.9 KB
Original Source

NumberingListBulletFormat Enum

Lists formats for numbering bullets.

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public enum NumberingListBulletFormat
vb
Public Enum NumberingListBulletFormat

Members

NameDescriptionImage
LowercaseLetterInParentheses

A bullet is displayed as a lowercase letter followed by a right parenthesis.

|

| | UppercaseLetterInParentheses |

A bullet is displayed as an uppercase letter followed by a right parenthesis.

|

| | LowercaseLetterWithRightParenthesis |

A bullet is displayed as a lowercase letter followed by a right parenthesis.

|

| | UppercaseLetterWithRightParenthesis |

A bullet is displayed as an uppercase letter followed by a right parenthesis.

|

| | LowercaseLetterWithPeriod |

A bullet is displayed as a lowercase letter followed by a period.

|

| | UppercaseLetterWithPeriod |

A bullet is displayed as an uppercase letter followed by a period.

|

| | NumberInParentheses |

A bullet is displayed as a number followed by a right parenthesis.

|

| | NumberWithRightParenthesis |

A bullet is displayed as a number followed by a right parenthesis.

|

| | NumberWithPeriod |

A bullet is displayed as a number followed by a period.

|

| | NumberPlain |

A bullet is displayed as a plain number.

|

| | LowercaseRomanInParentheses |

A bullet is displayed as a lowercase Roman numeral followed by a right parenthesis.

|

| | UppercaseRomanInParentheses |

A bullet is displayed as an uppercase Roman numeral followed by a right parenthesis.

|

| | LowercaseRomanWithRightParenthesis |

A bullet is displayed as a lowercase Roman numeral followed by a right parenthesis.

|

| | UppercaseRomanWithRightParenthesis |

A bullet is displayed as an uppercase Roman numeral followed by a right parenthesis.

|

| | LowercaseRomanWithPeriod |

A bullet is displayed as a lowercase Roman numeral followed by a period.

|

| | UppercaseRomanWithPeriod |

A bullet is displayed as an uppercase Roman numeral followed by a period.

|

| | DoubleByteCircledNumber |

A bullet is displayed as a circled number.

|

| | WideBlackCircledNumber |

A bullet is displayed as a wide circled number.

|

| | WideWhiteCircledNumber |

A bullet is displayed as a wide circled number.

|

| | DoubleByteNumberWithPeriod |

A bullet is displayed as a number followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | DoubleByteNumberPlain |

A bullet is displayed as a plain number. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | SimplifiedChineseNumberWithPeriod |

A bullet is displayed as a number in Simplified Chinese followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | SimplifiedChineseNumberPlain |

A bullet is displayed as a plain number in Simplified Chinese. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | TraditionalChineseNumberWithPeriod |

A bullet is displayed as a number in Traditional Chinese followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | TraditionalChineseNumberPlain |

A bullet is displayed as a plain number in Traditional Chinese. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | JapaneseChineseDoubleByteWithPeriod |

A bullet is displayed as a double-byte number followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | JapaneseKoreanNumberPlain |

A bullet is displayed as a plain Japanese or Korean number. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | JapaneseKoreanNumberWithPeriod |

A bullet is displayed as a Japanese or Korean number followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | NumberWithLeadingMinus |

A bullet is displayed as a number with a leading minus sign. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | NumberWithTrailingMinus |

A bullet is displayed as a number with a trailing minus sign. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | HebrewNumberWithMinus |

A bullet is displayed as a Hebrew number followed by a minus sign. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiLetterWithPeriod |

A bullet is displayed as a Thai letter followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiLetterWithRightParenthesis |

A bullet is displayed as a Thai letter followed by a right parenthesis. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiLetterInParentheses |

A bullet is displayed as a Thai letter followed by a right parenthesis. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiNumberWithPeriod |

A bullet is displayed as a Thai number followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiNumberWithRightParenthesis |

A bullet is displayed as a Thai number followed by a right parenthesis. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | ThaiNumberInParentheses |

A bullet is displayed as a Thai number followed by a right parenthesis. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | HindiLetterWithPeriod |

A bullet is displayed as a Hindi letter followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | HindiNumberWithPeriod |

A bullet is displayed as a Hindi number followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | HindiNumberWithRightParenthesis |

A bullet is displayed as a Hindi number followed by a right parenthesis. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

| | HindiLetterStyle1WithPeriod |

A bullet is displayed as a Hindi letter followed by a period. This format is not supported in PDF export. Instead, the bullet is displayed as a regular number.

|

|

The following properties accept/return NumberingListBulletFormat values:

Remarks

The following code snippet configures a numbering bullet for a paragraph:

csharp
using DevExpress.Docs;
using DevExpress.Docs.Presentation;
using DevExpress.Drawing;
using System.Drawing;

namespace PresentationApiSample;

public class Program {
    public static void Main(string[] _) {
        Presentation presentation = new Presentation();
        presentation.Slides.Clear();

        Slide slide = new Slide(SlideLayoutType.Blank);
        presentation.Slides.Add(slide);

        Shape shape = new Shape(ShapeType.Rectangle, 30, 30, 2000, 1000);
        slide.Shapes.Add(shape);

        // Use a numbering bullet for a text paragraph
        NumberingListBullet n_bullet = new NumberingListBullet(NumberingListBulletFormat.WideBlackCircledNumber, 1);
        TextParagraph paragraph1 = new TextParagraph();
        paragraph1.Properties.ListBullet = n_bullet;
        paragraph1.Text = "Paragraph 1";
        shape.TextArea.Paragraphs.Add(paragraph1);

    }
}
vb
Imports DevExpress.Docs
Imports DevExpress.Docs.Presentation
Imports DevExpress.Drawing
Imports System.Drawing

Namespace PresentationApiSample

    Public Class Program
        Public Shared Sub Main(__ As String())

            Dim presentation As Presentation = New Presentation()
            presentation.Slides.Clear()

            Dim slide As Slide = New Slide(SlideLayoutType.Blank)
            presentation.Slides.Add(slide)

            Dim shape As Shape = New Shape(ShapeType.Rectangle, 30, 30, 2000, 1000)
            slide.Shapes.Add(shape)

            ' Use a numbering bullet for a text paragraph
            Dim n_bullet As NumberingListBullet = New NumberingListBullet(NumberingListBulletFormat.WideBlackCircledNumber, 1)
            Dim paragraph1 As TextParagraph = New TextParagraph()
            paragraph1.Properties.ListBullet = n_bullet
            paragraph1.Text = "Paragraph 1"
            shape.TextArea.Paragraphs.Add(paragraph1)

        End Sub
    End Class
End Namespace

See Also

DevExpress.Docs.Presentation Namespace