GetEffective
Método IBulletFormat.GetEffective
Obtiene datos de formato de viñetas efectivas con la herencia aplicada.
public IBulletFormatEffectiveData GetEffective()
Valor de Retorno
Un IBulletFormatEffectiveData
.
Ejemplos
Este ejemplo demuestra cómo obtener algunas propiedades de formato de viñetas efectivas.
[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);
}
}
Ver También
- interface IBulletFormatEffectiveData
- interface IBulletFormat
- namespace Aspose.Slides
- assembly Aspose.Slides