GetEffective
BulletFormat.GetEffective-Methode
Ruft effektive Aufzählungsformatierungsdaten mit angewendeter Vererbung ab.
public IBulletFormatEffectiveData GetEffective()
Rückgabewert
Ein IBulletFormatEffectiveData
.
Beispiele
Dieses Beispiel demonstriert das Abrufen einiger effektiver Aufzählungsformat-Eigenschaften.
[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
- Schnittstelle IBulletFormatEffectiveData
- Klasse BulletFormat
- Namespace Aspose.Slides
- Assembly Aspose.Slides