In this example we are going to create auto shape and text in PowerPoint slide using
In this example we are creating the object of AutoShape .We are passing
the shape type into AutoShape as argument parameter .We are passing ShapeTypes.Star32
as shape type. Then we are using setAnchor() method to give the
position of the shape. To fill the color we are using setFillColr(Color
colr) method. To insert text we are creating an object of
RichTextRun constructor. In this we are passing text value. Finally we are
adding it by using addShape() method.