Skip to main content

CanvasShapeCollection Members

A collection of shapes in a drawing canvas.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
AddGroup() Adds a nested group to an existing shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddLine(PointF, PointF) Adds a line to a shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddOleObject(Stream, String, DocumentImageSource, PointF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(Stream, String, DocumentImageSource, RectangleF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(Stream, String, Image, PointF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(Stream, String, Image, RectangleF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, DocumentImageSource, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, DocumentImageSource, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, Image, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, Image, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, String, DocumentImageSource, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, String, DocumentImageSource, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, String, Image, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObject(String, String, Image, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an image. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(Stream, String, DocumentImageSource, PointF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(Stream, String, DocumentImageSource, RectangleF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(Stream, String, Image, PointF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(Stream, String, Image, RectangleF) Adds an embedded OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, DocumentImageSource, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, DocumentImageSource, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, Image, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, Image, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, String, DocumentImageSource, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, String, DocumentImageSource, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, String, Image, PointF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddOleObjectAsIcon(String, String, Image, RectangleF) Adds a linked OLE object to a shape group or a drawing canvas. The object is displayed in the document as an icon. Inherited from NestedShapeCollection.
AddPicture(DocumentImageSource, PointF) Adds a picture to a shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddPicture(DocumentImageSource, RectangleF) Adds a picture to a shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddPicture(Image, PointF) Adds a picture to a shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddPicture(Image, RectangleF) Adds a picture to a shape group or a drawing canvas. Inherited from NestedShapeCollection.
AddShape(ShapeGeometryPreset, RectangleF) Adds a shape to a group or a drawing canvas. Inherited from NestedShapeCollection.
Clear() Removes all shapes from the canvas.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(NestedShape) Removes the specified shape from the canvas.
RemoveAt(Int32) Removes a shape with the specified index from the canvas.
See Also