Skip to main content

XtraDiagramExtensions.CreateShape(DiagramControl, ShapeDescription, RectangleF, Boolean) Method

Namespace: DevExpress.XtraDiagram.Extensions

Assembly: DevExpress.XtraDiagram.v23.2.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