GoXam for WPF v3
ZoomToRect Method
Northwoods.GoXam.Tool Namespace > DragZoomingTool Class : ZoomToRect Method
a rectangle in model coordinates
This method is called to zoom the ZoomedDiagram to match the given rectangle.
Syntax
public virtual void ZoomToRect( 
   Rect brect
)

Parameters

brect
a rectangle in model coordinates
Remarks
This sets the ZoomedDiagram's Northwoods.GoXam.DiagramPanel's Northwoods.GoXam.DiagramPanel.Scale and Northwoods.GoXam.DiagramPanel.Position properties according to the brect rectangle argument.
See Also

Reference

DragZoomingTool Class
DragZoomingTool Members