Click or drag to resize

RhinoViewportZoomWindow Method

Zooms the viewport to the given rectangle.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.33
Syntax
public bool ZoomWindow(
	Rectangle rect
)

Parameters

rect
Type: System.DrawingRectangle
A 2d screen rectangle in client coordinates of the parent Rhino view, where 0,0 is the upper left corner of the view window.

Return Value

Type: Boolean
true if operation succeeded; otherwise false.
See Also