GetEffective
ThreeDFormat.GetEffective Methode
Ruft effektive 3-D-Formatierungsdaten mit der angewendeten Vererbung ab.
public IThreeDFormatEffectiveData GetEffective()
Rückgabewert
Ein IThreeDFormatEffectiveData.
Beispiele
Dieses Beispiel zeigt, wie man effektive Eigenschaften für Kamera, Lichtanordnung und die obere Fase einer Form abruft.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
    IThreeDFormatEffectiveData threeDEffectiveData = pres.Slides[0].Shapes[0].ThreeDFormat.GetEffective();
    Console.WriteLine("= Effektive Kameraeigenschaften =");
    Console.WriteLine("Typ: " + threeDEffectiveData.Camera.CameraType);
    Console.WriteLine("Sichtfeld: " + threeDEffectiveData.Camera.FieldOfViewAngle);
    Console.WriteLine("Zoom: " + threeDEffectiveData.Camera.Zoom);
    Console.WriteLine("= Effektive Lichtanordnungseigenschaften =");
    Console.WriteLine("Typ: " + threeDEffectiveData.LightRig.LightType);
    Console.WriteLine("Richtung: " + threeDEffectiveData.LightRig.Direction);
    Console.WriteLine("= Effektive obere Fasenmerkmale der Form =");
    Console.WriteLine("Typ: " + threeDEffectiveData.BevelTop.BevelType);
    Console.WriteLine("Breite: " + threeDEffectiveData.BevelTop.Width);
    Console.WriteLine("Höhe: " + threeDEffectiveData.BevelTop.Height);
}
Siehe auch
- interface IThreeDFormatEffectiveData
- class ThreeDFormat
- namespace Aspose.Slides
- assembly Aspose.Slides