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) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also