Skip to main content
.NET Framework 4.5.2+

ShapeCollection.Clear() Method

Removes all shapes from the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

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