GetEffective

LineFormat.GetEffective Methode

Ruft die effektiven Linienformatierungsdaten mit der angewendeten Vererbung ab.

public ILineFormatEffectiveData GetEffective()

Rückgabewert

Ein ILineFormatEffectiveData.

Beispiele

Dieses Beispiel demonstriert, wie die effektiven Linienformat-Eigenschaften einer Form abgerufen werden.

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

	Console.WriteLine("Stil: " + effectiveLineFormat.Style);
	Console.WriteLine("Breite: " + effectiveLineFormat.Width);
	Console.WriteLine("Fülltyp: " + effectiveLineFormat.FillFormat.FillType);
}

Siehe Auch