Adds an object of the type Shape to the collection.

Add(Drawing.Shape)

public int Add(Drawing.Shape shape);
Public Function Add(shape As Drawing.Shape) As Integer

Add(Drawing.Shape, Drawing.ShapeCollection.AddStyle)

public int Add(Drawing.Shape shape, Drawing.ShapeCollection.AddStyle addStyle);
Public Function Add(shape As Drawing.Shape, addStyle As Drawing.ShapeCollection.AddStyle) As Integer

Parameters

Parameter Description
shape Specifies the shape.
addStyle Specifies style how to add the shape to the collection.