Grasshopper API
GH_ScrollBarVerticalBaseScrollBar Method (Rectangle) |
Compute the size and position of the scroll bar in the scroll rail.
Namespace: Grasshopper.GUI.Base
Assembly: Grasshopper (in Grasshopper.dll)

public Rectangle ScrollBar( Rectangle rail )
Public Function ScrollBar ( rail As Rectangle ) As Rectangle
Parameters
- rail
- Type: System.DrawingRectangle
Rail for scroll bar to move around in.
Return Value
Type: RectangleA rectangle describing the location and extends of the scroll bar.
