XtraDiagramExtensions.CreateShape(DiagramControl, ShapeDescription, RectangleF, Boolean) Method
Namespace: DevExpress.XtraDiagram.Extensions
Assembly: DevExpress.XtraDiagram.v25.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
public static DiagramShape CreateShape(
this DiagramControl diagram,
ShapeDescription shapeDesc,
RectangleF bounds,
bool focusDiagram = true
)
Parameters
| Name | Type |
|---|---|
| diagram | DiagramControl |
| shapeDesc | ShapeDescription |
| bounds | RectangleF |
Optional Parameters
| Name | Type | Default |
|---|---|---|
| focusDiagram | Boolean | True |
Returns
| Type |
|---|
| DiagramShape |
See Also