All docs
V20.2
21.1 (EAP/Beta)
20.2
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.InsertShape Method

Name Parameters Description
InsertShape(DocumentPosition, ShapeGeometryPreset) pos, preset Inserts a shape in the document.
InsertShape(DocumentPosition, ShapeGeometryPreset, RectangleF) pos, preset, bounds Inserts a shape at the specified position in the document.
InsertShape(DocumentPosition, ShapeGeometryPreset, SizeF) pos, preset, size Inserts a shape of specified size in the document.