IShapeCollection shp = sld.getShapes();
ITable tbl = (ITable) shp.get_Item(0);
java.lang.ClassCastException: com.aspose.slides.AutoShape cannot be cast to com.aspose.slides.ITable
IShapeCollection shp = sld.getShapes();
ITable tbl = (ITable) shp.get_Item(0);
java.lang.ClassCastException: com.aspose.slides.AutoShape cannot be cast to com.aspose.slides.ITable
I have observed the issue shared by you. In your application you are probably type casting an AutoShape to Table which is not allowed. I suggest you to please first get the shape type and then type cast that to appropriate shape.