[]
Represents a collection of CanvasShape objects.
public class CanvasShapeCollection : ContentObjectCollection<CanvasShape>, IContentList<CanvasShape>, IReadOnlyList<CanvasShape>, IReadOnlyCollection<CanvasShape>, IEnumerable<CanvasShape>, IEnumerable
Adds a CanvasShape to this collection at the End location.
public CanvasShape Add()
The added CanvasShape.
Adds a CanvasShape to this collection at the End location.
public CanvasShape Add(float width, float height)
The inserted CanvasShape.
Inserts a CanvasShape into this collection at a specified location.
public CanvasShape Insert(InsertLocation location)
location InsertLocationThe target InsertLocation for the insertion.
The inserted CanvasShape.
Inserts a CanvasShape into this collection at a specified location.
public CanvasShape Insert(float width, float height, InsertLocation location)
width floatThe canvas width, in points.
height floatThe canvas height, in points.
location InsertLocationThe target InsertLocation for the insertion.
The inserted CanvasShape.