Skip to main content

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

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v24.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

The following code snippets (auto-collected from DevExpress Examples) contain references to the Create(String, String, IEnumerable<ShapeDescriptionBase>, Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also