RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View3D

View3D.ScalePerspectiveCropBox

Method
Description:
Scale an existing crop box of the perspective view.
Remarks:
Remarks

In addition to changing the view crop box, this operation also makes the change analogous to changing the scale of the orthographic view, so that both the size and scale of the view on a sheet changes according to the provided argument 'multiplier'.

For getting or setting view crop box size use property CropBox

Syntax
public void ScalePerspectiveCropBox(
	double multiplier
)
Parameters
Parameter Type Description
multiplier Double Multiplier to change the view scale and the current crop box size on both X and Y.
Return Value
Exceptions
Exception Condition
InvalidOperationException Returns true if the view is not a view template.