DiagramLite Programmer's Guide
AnchorPattern.FromId Method
See Also
 





Returns a reference to the anchor pattern with the specified string identifier.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static AnchorPattern FromId (
    string id
)

Visual Basic  Copy Code

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

 Parameters

id
A string identifying an AnchorPattern instance.

 Return Value

The AnchorPattern object whose Id is equal to the id parameter, or null (Nothing in Visual Basic) if no such object exists.

 Remarks

The id argument should match an identifier passed to the constructor of an existing AnchorPattern object.

 See Also

AnchorPattern Members
AnchorPattern Class
MindFusion.Diagramming Namespace