Skip to main content

ShapeCollection.Clear() Method

Removes all shapes from the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

void Clear()

Remarks

The following example deletes all shapes in a document:

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