XtraDiagramExtensions.CreateShape(DiagramControl, ShapeDescription, RectangleF, Boolean) Method
Namespace: DevExpress.XtraDiagram.Extensions
Assembly: DevExpress.XtraDiagram.v24.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