Click or drag to resize

ViewportInfoGetScreenPort Method (Int32, Int32)

Gets the location of viewport in pixels.

See value meanings in SetScreenPort.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Rectangle GetScreenPort(
	out int near,
	out int far
)

Parameters

near
Type: SystemInt32
The near value. This out parameter is assigned during the call.
far
Type: SystemInt32
The far value. This out parameter is assigned during the call.

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.5
See Also