| Revit 2024 API |
| Form..::..TopOffset Property |
| Form Class See Also |
Retrieve/set the top offset of the form object. It is only valid for locked form.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
public double TopOffset { get; set; } |
| Visual Basic |
|---|
Public Property TopOffset As Double Get Set |
| Visual C++ |
|---|
public: property double TopOffset { double get (); void set (double value); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when this is not a locked form. |
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the value is invalid. |
| Autodesk.Revit.Exceptions..::..ApplicationException | Thrown when it fail to get/set TopOffset. |