GetEffective
ParagraphFormat.GetEffective méthode
Obtient les données de formatage de paragraphe effectif avec l’héritage appliqué.
public IParagraphFormatEffectiveData GetEffective()
Valeur de Retour
Un IParagraphFormatEffectiveData
.
Exemples
Cet exemple démontre comment obtenir certaines propriétés de format de paragraphe effectif.
[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("Alignement du texte : " + effectiveParagraphFormat.Alignment);
Console.WriteLine("Retrait : " + effectiveParagraphFormat.Indent);
Console.WriteLine("Type de puce : " + effectiveParagraphFormat.Bullet.Type);
}
Voir Aussi
- interface IParagraphFormatEffectiveData
- class ParagraphFormat
- namespace Aspose.Slides
- assembly Aspose.Slides