GetEffective

IBulletFormat.GetEffective method

Obtiene datos de formato de viñetas efectivas con la herencia aplicada.

public IBulletFormatEffectiveData GetEffective()

Return Value

Un IBulletFormatEffectiveData.

Examples

Este ejemplo demuestra cómo obtener algunas propiedades efectivas del 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