MindFusion.Wpf Pack Programmer's Guide
ShapeDesigner.ExportShape Method
See Also
 





Creates a new Shape from the current content of the design canvas.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Shape ExportShape (
    string shapeId
)

Visual Basic  Copy Code

Public Function ExportShape( _
    shapeId As String _
) As Shape

 Parameters

shapeId

The shape's string identifier.

 Return Value

A Shape instance.

 Remarks

This method converts the internal shape design representation to respective collections of ElementTemplate objects, assiged to Outline ot Decorations properties of the new Shape.

 See Also

ShapeDesigner Members
ShapeDesigner Class
MindFusion.Diagramming.Wpf Namespace