GetEffective
IBulletFormat.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 montre 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
- interface IBulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides