GetEffective

LineFormat.GetEffective método

Obtiene datos de formato de línea efectivos con la herencia aplicada.

public ILineFormatEffectiveData GetEffective()

Valor de Retorno

Un ILineFormatEffectiveData.

Ejemplos

Este ejemplo demuestra cómo obtener las propiedades de formato de línea efectivas de una forma.

[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
	ILineFormatEffectiveData effectiveLineFormat = pres.Slides[0].Shapes[0].LineFormat.GetEffective();

	Console.WriteLine("Estilo: " + effectiveLineFormat.Style);
	Console.WriteLine("Ancho: " + effectiveLineFormat.Width);
	Console.WriteLine("Tipo de relleno: " + effectiveLineFormat.FillFormat.FillType);
}

Ver También