TopAnnotationCropOffset Property


The offset from the top of the view crop that determines the location of the annotation crop top boundary.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2016

Syntax

C#
public double TopAnnotationCropOffset { get; set; }
Visual Basic
Public Property TopAnnotationCropOffset As Double
	Get
	Set
Visual C++
public:
property double TopAnnotationCropOffset {
	double get ();
	void set (double value);
}

Remarks

This value must be a non-negative length in view units. Default value is 1/12' (1"), minimal value is 1/96' (1/8"). To get offset in model units, multiply the value by the view scale.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The given value for offset must be non-negative.
Autodesk.Revit.ExceptionsInvalidOperationException View is not allowed to have an annotation crop.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →