GetEffective
BulletFormat.GetEffective méthode
Obtient les données de formatage de puces effectives avec l’héritage appliqué.
public IBulletFormatEffectiveData GetEffective()
Valeur de Retour
Un IBulletFormatEffectiveData.
Exemples
Cet exemple illustre comment obtenir certaines propriétés de format de puce effectives.
[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("Type de puce : " + effectiveBulletFormat.Type);
if (effectiveBulletFormat.Type == BulletType.Numbered)
{
Console.WriteLine("Style numéroté : " + effectiveBulletFormat.NumberedBulletStyle);
Console.WriteLine("Numéro de départ : " + effectiveBulletFormat.NumberedBulletStartWith);
}
}
Voir Aussi
- interface IBulletFormatEffectiveData
- class BulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides