| Revit 2017.1 API |
| ViewCropRegionShapeManager..::..GetAnnotationCropShape Method |
| ViewCropRegionShapeManager Class See Also |
Gets the annotation crop box assigned to the view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since:
2016
Syntax
| C# |
|---|
public CurveLoop GetAnnotationCropShape() |
| Visual Basic |
|---|
Public Function GetAnnotationCropShape As CurveLoop |
| Visual C++ |
|---|
public: CurveLoop^ GetAnnotationCropShape() |
Return Value
The annotation crop boundary.
Remarks
Currently, this method returns only the rectangular annotation crop box.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | View is not allowed to have an annotation crop. |