Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapeCollection.AddShape Method

Name Parameters Description
AddShape(ShapeGeometryPreset, Cell, Single, Single) shapePreset, topLeftCell, width, height Inserts a shape so that its top left corner is located at the specified cell.
AddShape(ShapeGeometryPreset, CellRange) shapePreset, targetRange Inserts a shape to fit in the specified range.
AddShape(ShapeGeometryPreset, Single, Single, Single, Single) shapePreset, x, y, width, height Inserts a shape with a specific geometry type.