Converting Shape (Drawing) to Image

Hi,
How to convert Shape(Drawing) to Image ?

right now, I can identify Drawing by,
!autoShape.getShapeType().equals(ShapeTypeEx.NOT_DEFINED)

There are lots of ShapeTypeEx types, so rather than writing code for parsing each, Is there anyway to convert Visual Shape to image directly???

Regards,
Nachiket

Dear Nachiket,

I feel sorry to share with you that there is no direct way of converting shapes to image directly. One may need to traverse through all shapes for thumbnail generation.

We are sorry for your inconvenience,