I want to achieve flipping (horizontally) a shape or text in Powerpoint slide.
This is manually achieved by setting the X rotation of 3-D Rotation property to 180 deg.
image.png (2.3 KB)
However I don’t see such a property in Aspose Slides documentation.
Can this be achieved? and if not is there a workaround.?
@tomasmuller,
Welcome to our community! Thank you for the query. Could you please clarify which programming language you are using with Aspose.Slides?
Hello Andrey,
The language would be C#.
@tomasmuller,
You can set X rotation of 3-D Rotation to 180 degrees as shown below:
shape.ThreeDFormat.Camera.CameraType = CameraPresetType.OrthographicFront;
shape.ThreeDFormat.Camera.SetRotation(0, 180, 0);
shape.ThreeDFormat.LightRig.LightType = LightRigPresetType.Flat;
shape.ThreeDFormat.LightRig.Direction = LightingDirection.Top;
Documents: 3D Presentation
API Reference: IThreeDFormat Interface