Revit 2025.3 API
| View | 
   Scale an existing crop box of the perspective view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void ScalePerspectiveCropBox( double multiplier )
Public Sub ScalePerspectiveCropBox ( multiplier As Double )
public: void ScalePerspectiveCropBox( double multiplier )
member ScalePerspectiveCropBox : multiplier : float -> unit
Parameters
- multiplier Double
- Multiplier to change the view scale and the current crop box size on both X and Y.
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| InvalidOperationException | Returns true if the view is not a view template. | 
 Remarks
Remarks Remarks
RemarksIn 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
See Also