Click or drag to resize
RadDiagramAddShape Method (IShape, NullablePoint, Boolean)
Adds the given shape to the diagram.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.3.911.40 (2018.3.911.40)
Syntax
public IShape AddShape(
	IShape shape,
	Nullable<Point> position = null,
	bool isUndoable = false
)

Parameters

shape
Type: Telerik.Windows.Diagrams.CoreIShape
The shape to add.
position (Optional)
Type: SystemNullablePoint
The position at which the shape will be added on the canvas.
isUndoable (Optional)
Type: SystemBoolean
If set to true the action is undoable.

Return Value

Type: IShape
See Also