Click or drag to resize

ViewCaptureSettingsSetWindowRect Method (Point2d, Point2d)

Set the print area to a window selection based on two points in screen coordinates

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetWindowRect(
	Point2d screenPoint1,
	Point2d screenPoint2
)

Parameters

screenPoint1
Type: Rhino.GeometryPoint2d
first point; it doesn't matter what corner of the rectangle this point represents
screenPoint2
Type: Rhino.GeometryPoint2d
point representing opposite corner of rectangle from screenPoint1
See Also