Thanks for your information.
How can I convert picture type to shape type in Java.
Exactly what happened is that I have C# code where to there is direct convertion has done like this.
private com.aspose.words.Shape ConvertPictureToShape(com.aspose.cells.Picture excelPicture, Document doc)
//Create new Shape
wordsShape = new com.aspose.words.Shape(doc, com.aspose.words.ShapeType.IMAGE);
//Import Picture properties inhereted from Shape
Actually the bolded thing is giving me error.
It is saying that you can not convert picture type to Shape directly. I have ImportShapeProperties method.
The same kind of error is coming for TextBox to Shape
Can you help me?