Click or drag to resize

ViewportInfoGetScreenPort Method

Gets the location of viewport in pixels. See documentation for SetScreenPort.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public Rectangle GetScreenPort()

Return Value

Type: Rectangle
The rectangle, or Empty rectangle on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.23
See Also