BulletFormatGetEffective Method

Gets effective bullet formatting data with the inheritance applied.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public IBulletFormatEffectiveData GetEffective()

Return Value

Type: IBulletFormatEffectiveData
A IBulletFormatEffectiveData.

Implements

IBulletFormatGetEffective
Examples
This example demonstrates getting some effective bullet format properties.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
    IAutoShape shape = pres.Slides[0].Shapes[0] as IAutoShape;
    IBulletFormatEffectiveData effectiveBulletFormat = shape.TextFrame.Paragraphs[0].ParagraphFormat.Bullet.GetEffective();

    Console.WriteLine("Bullet type: " + effectiveBulletFormat.Type);
    if (effectiveBulletFormat.Type == BulletType.Numbered)
    {
        Console.WriteLine("Numbered style: " + effectiveBulletFormat.NumberedBulletStyle);
        Console.WriteLine("Starting number: " + effectiveBulletFormat.NumberedBulletStartWith);
    }
}
See Also