GetEffective
BulletFormat.GetEffective method
Obtiene datos efectivos de formato de viñetas con la herencia aplicada.
public IBulletFormatEffectiveData GetEffective()
Return Value
Un IBulletFormatEffectiveData
.
Examples
Este ejemplo demuestra cómo obtener algunas propiedades efectivas de formato de viñetas.
[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("Tipo de viñeta: " + effectiveBulletFormat.Type);
if (effectiveBulletFormat.Type == BulletType.Numbered)
{
Console.WriteLine("Estilo numerado: " + effectiveBulletFormat.NumberedBulletStyle);
Console.WriteLine("Número inicial: " + effectiveBulletFormat.NumberedBulletStartWith);
}
}
See Also
- interface IBulletFormatEffectiveData
- class BulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides