Adds an object of the type Shape to the collection.


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


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

Further Reading

Learn more about the TXTextControl.Drawing.ShapeCollection.Add Method in the Text Control Blog: