Constructs a new Rhino view and, at the same time, adds it to the list.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public RhinoView Add(
string title,
DefinedViewportProjection projection,
Rectangle position,
bool floating
)
Public Function Add (
title As String,
projection As DefinedViewportProjection,
position As Rectangle,
floating As Boolean
) As RhinoView
Parameters
- title
- Type: SystemString
The title of the new Rhino view. - projection
- Type: Rhino.DisplayDefinedViewportProjection
A basic projection type. - position
- Type: System.DrawingRectangle
A position. - floating
- Type: SystemBoolean
true if the view floats; false if it is docked.
Return Value
Type:
RhinoViewThe newly constructed Rhino view; or null on error.
See Also