DiagramStencil.Create(String, String, IEnumerable<ShapeTemplateBase>, Func<String, String>, 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<ShapeTemplateBase> shapes,
Func<string, string> getShapeName,
bool isVisible = true
)
Parameters
Name | Type |
---|---|
stencilId | String |
stencilName | String |
shapes | IEnumerable<DevExpress.Diagram.Core.Shapes.ShapeTemplateBase> |
getShapeName | Func<String, String> |
Optional Parameters
Name | Type | Default |
---|---|---|
isVisible | Boolean | True |
Returns
Type |
---|
DiagramStencil |
See Also