Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeCollection.Clear() Method

Removes all shapes from the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v21.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