ShapeCollection.Clear() Method | Office File API | DevExpress Documentation Skip to main content
All docs
V26.1
  • ShapeCollection.Clear() Method

    Removes all shapes from the collection.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    Declaration

    void Clear()

    Remarks

    The following example deletes all shapes in a document:

    Document document = wordProcessor.Document;
    document.Shapes.Clear();
    
    See Also
    Use of this site constitutes acceptance of our Website Terms of Use and Privacy Policy (Updated). Cookies Settings