GetEffective
ThreeDFormat.GetEffective method
Gets effective 3-D formatting data with the inheritance applied.
public IThreeDFormatEffectiveData GetEffective()
Return Value
Examples
This example demonstrates how to get effective properties for camera, light rig and shape’s top bevel.
[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);
}
See Also
- interface IThreeDFormatEffectiveData
- class ThreeDFormat
- namespace Aspose.Slides
- assembly Aspose.Slides