Click or drag to resize
ViewportInfoSetScreenPort Method (Rectangle)
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 bool SetScreenPort(
	Rectangle windowRectangle
)

Parameters

windowRectangle
Type: System.DrawingRectangle
A new rectangle.

Return Value

Type: Boolean
true if input is valid.
See Also