RhinoCommon API
InteropToIRhinoViewport Method |
Convert a Rhino.Display.Viewport to an RMA.Rhino.IRhinoViewport.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static Object ToIRhinoViewport( RhinoViewport source )
Public Shared Function ToIRhinoViewport ( source As RhinoViewport ) As Object
Parameters
- source
- Type: Rhino.DisplayRhinoViewport
A RhinoCommon viewport.
Return Value
Type: ObjectRhino_DotNet IRhinoViewport object on success. This will be an independent copy.
