Skip to main content

ShapeCollection Interface

A collection of shapes in a document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

#Declaration

[ComVisible(true)]
public interface ShapeCollection :
    ReadOnlyShapeCollection,
    ISimpleCollection<Shape>,
    IEnumerable<Shape>,
    ICollection,
    IEnumerable

#Returned By

The SubDocument.Shapes property returns an instance of ShapeCollection.

#Remarks

Use the SubDocument.GetShapes method to obtain a collection of shapes in a document. To get access to a particular shape, you can name it using the Shape.Name property and then access it via the ShapeCollection.Item method.

See Also