GoXam for WPF v3
ZoomToRect Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
View with Navigation Tools
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
C#
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