NumberingListBulletFormat Enum | Office File API | DevExpress Documentation Skip to main content
All docs
V26.1
  • NumberingListBulletFormat Enum

    Lists formats for numbering bullets.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public enum NumberingListBulletFormat

    Members

    Related API Members

    The following properties accept/return NumberingListBulletFormat values:

    Remarks

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

    using DevExpress.Docs;
    using DevExpress.Docs.Office;
    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);
    
        }
    }
    
    See Also
    Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings