View.CropBoxActive Property

ViewCropBoxActive Property

Whether or not the Crop Box/Region is active for the view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool CropBoxActive { get; set; }
Public Property CropBoxActive As Boolean
	Get
	Set
public:
property bool CropBoxActive {
	bool get ();
	void set (bool value);
}
member CropBoxActive : bool with get, set

Property Value

Boolean
Exceptions
ExceptionCondition
InapplicableDataExceptionThrown when getting this property, if the view is a template and cannot have a crop box applied.
InvalidOperationExceptionThrown when setting this property, if the view is a template and cannot have a crop box applied.
Remarks
Identifies whether the crop region modifies the graphical appearance of elements in the view.
See Also