Gets the display rectangle (in control coordinates) corresponding to a region of the diagram model. This method is used to compensate for the effects of zooming and scrolling on a DiagramSurface.

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

Syntax

C#
public Rect GetPhysicalBounds(
	Rect logicalBounds
)
Visual Basic (Declaration)
Public Function GetPhysicalBounds ( _
	logicalBounds As Rect _
) As Rect

Parameters

logicalBounds
Type: System.Windows..::.Rect
The logical bounds.

Return Value

A Rect containing the equivalent coordinates in control coordinates.

See Also