GetEffective
ParagraphFormat.GetEffective Methode
Ruft die effektiven Absatzformatierungsdaten mit angewandter Vererbung ab.
public IParagraphFormatEffectiveData GetEffective()
Rückgabewert
Ein IParagraphFormatEffectiveData
.
Beispiele
Dieses Beispiel zeigt, wie einige effektive Eigenschaften des Absatzformats abgerufen werden.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IAutoShape shape = pres.Slides[0].Shapes[0] as IAutoShape;
IParagraphFormatEffectiveData effectiveParagraphFormat = shape.TextFrame.Paragraphs[0].ParagraphFormat.GetEffective();
Console.WriteLine("Textausrichtung: " + effectiveParagraphFormat.Alignment);
Console.WriteLine("Einzug: " + effectiveParagraphFormat.Indent);
Console.WriteLine("Aufzählungstyp: " + effectiveParagraphFormat.Bullet.Type);
}
Siehe auch
- Schnittstelle IParagraphFormatEffectiveData
- Klasse ParagraphFormat
- Namespace Aspose.Slides
- Assembly Aspose.Slides