Click or drag to resize

RhinoGetGet2dRectangle Method

Gets a rectangle in view window coordinates.

Namespace:  Rhino.Input
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Result Get2dRectangle(
	bool solidPen,
	out Rectangle rectangle,
	out RhinoView rectView
)

Parameters

solidPen
Type: SystemBoolean
If true, a solid pen is used for drawing while the user selects a rectangle. If false, a dotted pen is used for drawing while the user selects a rectangle.
rectangle
Type: System.DrawingRectangle
user selected rectangle in window coordinates.
rectView
Type: Rhino.DisplayRhinoView
view that the user selected the window in.

Return Value

Type: Result
Success or Cancel.
See Also