GetEffective
ThreeDFormat.GetEffective method
Ruft effektive 3D-Formatierungsdaten mit angewendeter Vererbung ab.
public IThreeDFormatEffectiveData GetEffective()
Rückgabewert
EINIThreeDFormatEffectiveData
.
Beispiele
Dieses Beispiel zeigt, wie Sie effektive Eigenschaften für die Kamera, das Licht-Rig und die obere Abschrägung der Form erhalten.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
IThreeDFormatEffectiveData threeDEffectiveData = pres.Slides[0].Shapes[0].ThreeDFormat.GetEffective();
Console.WriteLine("= Effective camera properties =");
Console.WriteLine("Type: " + threeDEffectiveData.Camera.CameraType);
Console.WriteLine("Field of view: " + threeDEffectiveData.Camera.FieldOfViewAngle);
Console.WriteLine("Zoom: " + threeDEffectiveData.Camera.Zoom);
Console.WriteLine("= Effective light rig properties =");
Console.WriteLine("Type: " + threeDEffectiveData.LightRig.LightType);
Console.WriteLine("Direction: " + threeDEffectiveData.LightRig.Direction);
Console.WriteLine("= Effective shape's top face relief properties =");
Console.WriteLine("Type: " + threeDEffectiveData.BevelTop.BevelType);
Console.WriteLine("Width: " + threeDEffectiveData.BevelTop.Width);
Console.WriteLine("Height: " + threeDEffectiveData.BevelTop.Height);
}
Siehe auch
- interface IThreeDFormatEffectiveData
- class ThreeDFormat
- namensraum Aspose.Slides
- Montage Aspose.Slides