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)
Since: 5.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