Grasshopper API
GH_ViewportProjectX Method |
Project a value along constant X from canvas coordinates into control coordinates.
Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)

Parameters
- x
- Type: SystemSingle
The constant X value in canvas coordinates.
Return Value
Type: SingleThe associated X value in control pixel coordinates.
