Hi ,
Could you please provide me the sample code to add 3D effect to shapes. Below is the code by using which i would like to create “Text Box” and i would like to have text box in attached excel file.
Code :
Aspose.Cells.Drawing.Shape txt = sheet.Shapes.AddShape(Aspose.Cells.Drawing.MsoDrawingType.TextBox,15, 15, 2,15, 40, 50);
txt.AutoShapeType = Aspose.Cells.Drawing.AutoShapeType.Bevel;
txt.Fill.Pattern = Aspose.Cells.Drawing.FillPattern.Solid;
txt.TextEffect.PresetShape = Aspose.Cells.Drawing.MsoPresetTextEffectShape.Inflate;
txt.FillFormat.BackColor = Color.Pink;
txt.FillFormat.ForeColor = Color.Pink;
Thanks
Venkata