Skip to main content
All docs
V25.1
  • ShapeCollection.Clear() Method

    Removes all shapes from the collection.

    Namespace: DevExpress.XtraRichEdit.API.Native

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    Declaration

    void Clear()

    Remarks

    The following example deletes all shapes in a document:

    Document document = wordProcessor.Document;
    document.Shapes.Clear();
    
    See Also