GH_ViewportZoom Property (Boolean) |
Sets the zoom of the viewport with a view anchor.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public float this[
bool adjustTarget
] { set; }
Public WriteOnly Property Zoom (
adjustTarget As Boolean
) As Single
Set
Parameters
- adjustTarget
- Type: SystemBoolean
If true, the target will be adjusted so that the center point remains the same.
Property Value
Type:
Single[Missing <value> documentation for "P:Grasshopper.GUI.Canvas.GH_Viewport.Zoom(System.Boolean)"]
See Also