GetEffective

BulletFormat.GetEffective метод

Получает данные эффективного форматирования маркеров с применением наследования.

public IBulletFormatEffectiveData GetEffective()

Значение Возврата

IBulletFormatEffectiveData.

Примеры

Этот пример демонстрирует получение некоторых свойств эффективного формата маркеров.

[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("Тип маркера: " + effectiveBulletFormat.Type);
	if (effectiveBulletFormat.Type == BulletType.Numbered)
	{
	    Console.WriteLine("Нумерованный стиль: " + effectiveBulletFormat.NumberedBulletStyle);
	    Console.WriteLine("Начальный номер: " + effectiveBulletFormat.NumberedBulletStartWith);
	}
}

См. Также