Skip to main content

DiagramStencil.Create(String, String, IEnumerable<ShapeDescriptionBase>, Boolean) Method

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v26.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

public static DiagramStencil Create(
    string stencilId,
    string stencilName,
    IEnumerable<ShapeDescriptionBase> shapes,
    bool isVisible = true
)

Parameters

Name Type
stencilId String
stencilName String
shapes IEnumerable<ShapeDescriptionBase>

Optional Parameters

Name Type Default
isVisible Boolean True

Returns

Type
DiagramStencil
See Also