Sets the model bounds for a node, based on its display rectangle.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void SetNodeBounds(
	IDiagramNode node,
	Rect displayBounds
)
Visual Basic (Declaration)
Public Sub SetNodeBounds ( _
	node As IDiagramNode, _
	displayBounds As Rect _
)

Parameters

node
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramNode
The node whose bounds are to be set.
displayBounds
Type: System.Windows..::.Rect
The node's display rectangle.

Implements

ILayout..::.SetNodeBounds(IDiagramNode, Rect)

See Also