Difference between autoshape & Textbox


I have to shape in a slide, first one is a rectangle autoshape with text and second one is a text box

With text, kindly explain me how to i find that first one is autoshape

in the manner of code

the source file was attached with this mail

Thanks & Regards


Hello Rajasekar,

You can use instanceof operator in java. Check if shape is an instance of autoshape or not.