Click or drag to resize
RhinoViewportMagnify Method (Double, Boolean)
Zooms or dollies in order to scale the viewport projection of observed objects.

Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Magnify(
	double magnificationFactor,
	bool mode
)

Parameters

magnificationFactor
Type: SystemDouble
The scale factor.
mode
Type: SystemBoolean
false = perform a "dolly" magnification by moving the camera towards/away from the target so that the amount of the screen subtended by an object changes. true = perform a "zoom" magnification by adjusting the "lens" angle

Return Value

Type: Boolean
true if operation succeeded; otherwise false.
See Also