GH_ViewportTargetRatio Property |
Gets or sets the target ratio with respect to the viewport dimensions.
This is a useful tool to prevent weird view changes during a canvas resize.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public SizeF TargetRatio { get; set; }
Public Property TargetRatio As SizeF
Get
Set
Property Value
Type:
SizeF[Missing <value> documentation for "P:Grasshopper.GUI.Canvas.GH_Viewport.TargetRatio"]
See Also