CharListBullet Class
A bullet that is displayed using a single character symbol.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Related API Members
The following members return CharListBullet objects:
Remarks
The following code snippet configures a character bullet for a paragraph:
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 char bullet for a text paragraph
CharListBullet c_bullet = new CharListBullet('•');
TextParagraph paragraph3 = new TextParagraph();
paragraph3.Properties.ListBullet = c_bullet;
paragraph3.Properties.ListBulletColor = new TextBulletColor(new OfficeColor(Color.Red));
paragraph3.Text = "Paragraph 3";
shape.TextArea.Paragraphs.Add(paragraph3);
}
}
Implements
Inheritance
Object
PresentationObject
ListBullet
CharListBullet
See Also