Skip to main content

XtraDiagramExtensions.CreateShape(DiagramControl, ShapeDescription, Boolean) Method

Namespace: DevExpress.XtraDiagram.Extensions

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

public static DiagramShape CreateShape(
    this DiagramControl diagram,
    ShapeDescription shapeDesc,
    bool focusDiagram = true
)

Parameters

Name Type
diagram DiagramControl
shapeDesc ShapeDescription

Optional Parameters

Name Type Default
focusDiagram Boolean True

Returns

Type
DiagramShape
See Also