The Shapes collection includes two methods (CreateShape and RemoveShape) that enable shapes and controls to be created and deleted using COM or JavaScript.