GetEffective
IBulletFormat.GetEffective Methode
Erhält effektive Aufzählungformatierungsdaten mit angewandter Vererbung.
public IBulletFormatEffectiveData GetEffective()
Rückgabewert
Ein IBulletFormatEffectiveData
.
Beispiele
Dieses Beispiel demonstriert, wie einige effektive Aufzählungsformat-Eigenschaften abgerufen werden.
[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("Aufzählungstyp: " + effectiveBulletFormat.Type);
if (effectiveBulletFormat.Type == BulletType.Numbered)
{
Console.WriteLine("Nummerierter Stil: " + effectiveBulletFormat.NumberedBulletStyle);
Console.WriteLine("Startnummer: " + effectiveBulletFormat.NumberedBulletStartWith);
}
}
Siehe Auch
- interface IBulletFormatEffectiveData
- interface IBulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides