Click or drag to resize

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; }

Property Value

Type: SizeF

[Missing <value> documentation for "P:Grasshopper.GUI.Canvas.GH_Viewport.TargetRatio"]

See Also