GetEffective
IBulletFormat.GetEffective method
Gets effective bullet formatting data with the inheritance applied.
public IBulletFormatEffectiveData GetEffective()
Return Value
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
- interface IBulletFormatEffectiveData
- interface IBulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides