RhinoCommon API
RhinoGetGet2dRectangle Method |
Gets a rectangle in view window coordinates.
Namespace: Rhino.Input
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Result Get2dRectangle( bool solidPen, out Rectangle rectangle, out RhinoView rectView )
Public Shared Function Get2dRectangle ( solidPen As Boolean, <OutAttribute> ByRef rectangle As Rectangle, <OutAttribute> ByRef rectView As RhinoView ) As Result
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: ResultSuccess or Cancel.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14