We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Two questions about Shape

1.There are many shape templates in Excel2007 but not supported by AutoShapeType emun

2.Shape does not have a Text property to set text

Is there any way to resolve problems above?

Thank you in advance.

Hi Jerry,

1. There are many shape templates in Excel2007 but all are not supported by AutoShapeType enum. You can use Aspose API to use shape objects and save them to excel fill.
Furthermore, in what manner do you want to use Excel2007 shapes? Do you want to save Excel file to PDF which include shapes? Or do you want to save shapes to image?
If you want to save shape to image, the latest version do not supported all shapes to be saved. We are working on it.
Please send us the excel template file which contains the shapes that you want to be supported.
We will investigate and try to make it available as soon as possible.

2. Shape do not have a Text property to set text. Please provide more details.


Hi Salman,

Thank you for reply

1.For Example,there are many kinds of rectangles in Excel 2007(you can see them in the attachment).How can I use Aspose API to manipulate these shapes? Could you offer an example?

2."shape.TextFrame.Characters().Text = "Shape Text"". I used this sentence to set Shape's text in Excel 2007. But Ican find there is no Characters() method in "Aspose.Cells.Drawing.MsoTextFrame" object.How to handle it?


Hi Jerry,

We are working on the issue. In the mean while, please try the updated version Aspose.Cells5.1.4.1.zip attached.