Grasshopper API
GH_ViewportProjectPoint Method |
Project a point from canvas coordinates into control coordinates.
Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)

Parameters
- pt
- Type: System.DrawingPointF
The point in canvas coordinates.
Return Value
Type: PointFThe associated point in control pixel coordinates.
