Whether or not the Crop Box/Region is active for the view.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public bool CropBoxActive { get; set; } |
Visual Basic |
---|
Public Property CropBoxActive As Boolean Get Set |
Visual C++ |
---|
public: property bool CropBoxActive { bool get (); void set (bool value); } |
Remarks
Identifies whether the crop region modifies the graphical appearance of
elements in the view.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InapplicableDataException | Thrown when getting this property, if the view is a template and cannot have a crop box applied. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when setting this property, if the view is a template and cannot have a crop box applied. |