Search
Shape.FromId Method
See Also
 





Returns a reference to the shape with the specified string identifier.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Shape FromId (
    string id
)

Visual Basic  Copy Code

Public Shared Function FromId( _
    id As String _
) As Shape

 Parameters

id
The identifier of the shape of interest.

 Return Value

A reference to the Shape with the specified identifier or a null reference (Nothing in Visual Basic) if there is no such shape.

 Remarks

The id argument should match an identifier passed to a constructor of the existing shape templates.

 See Also