Shapes collection
RemoveShape(shapeName)
Deletes a shape from a dashboard using COM or JavaScript. Pass the name of the shape to delete as shapeName.
Caution! | This operation cannot be undone. |
This example removes a shape called LeftGoal.
try{ Shapes.RemoveShape("LeftGoal") }catch(e){} // no worries it does not exist