Click or drag to resize

GH_NamedView Constructor (String, PointF, Single, GH_NamedViewType)

Create a new named view.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_NamedView(
	string view_name,
	PointF view_point,
	float view_zoom = 1f,
	GH_NamedViewType view_type = GH_NamedViewType.target
)

Parameters

view_name
Type: SystemString
Name of view.
view_point
Type: System.DrawingPointF
Anchor point of named view.
view_zoom (Optional)
Type: SystemSingle
Zoom factor of named view.
view_type (Optional)
Type: Grasshopper.GUI.CanvasGH_NamedViewType
The type of named view.
See Also