All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ShapeCollection.RemoveAt(Int32) Method

Removes a shape with the specified index from the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

void RemoveAt(
    int index
)
Sub RemoveAt(
    index As Integer
)

Parameters

Name Type Description
index Int32

A zero-based index of the shape to remove. It should not be negative and should be less than the number of elements in the collection.

Remarks

The following code removes the first shape from the collection:

Document document = wordProcessor.Document;
document.Shapes.RemoveAt(0);
See Also