I am trying to add bevel 3d effect to a shape programmatically using aspose.slides and it doesn't seem to be working.
What is weird is when i actually go into powerpoint and click "Format Shape", it does seem like all of the settings that I am setting below are being set but I don't see any 3d effect (see my picture below). If, once in powerpoint, I click on any of the settings (even reclicking settings that are already are set like BevelTop = circle, then it does take effect at that point.
Am I doing something wrong below?
I have attached a picture to help illustrate the issue.
On the left is what I am trying to create with my code and on the right side of the picture is what is actually showing up. Here is my code below
IShape shape = slide.Shapes.AddAutoShape(ShapeType.Ellipse, 30, 30, 13, 13);
shape.FillFormat.FillType = FillType.Solid;
shape.FillFormat.SolidFillColor.Color = GetGreenColor();
ILineFillFormat fillFormat = shape.LineFormat.Fillformat;
fillformat.FillType = FillType.Solid
fillFormat.SolidFillColor.Color = GetOrangeColor();
shape.LineFormat.Width = 2.0;
shape.ThreeDFormat.BevelTop.BevelType = BevelPresetType.Circle;
shape.ThreeDFormat.BevelTop.Height = 6;
shape.ThreeDFormat.BevelTop.Width = 6;
Please confirm if I am missing something or doing something incorrectly?