Creates a new area tag.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public AreaTag NewAreaTag( ViewPlan areaView, Area room, UV point ) |
| Visual Basic |
|---|
Public Function NewAreaTag ( _ areaView As ViewPlan, _ room As Area, _ point As UV _ ) As AreaTag |
| Visual C++ |
|---|
public: AreaTag^ NewAreaTag( ViewPlan^ areaView, Area^ room, UV^ point ) |
Parameters
- areaView
- Type: Autodesk.Revit.DB..::..ViewPlan
The area view
- room
- Type: Autodesk.Revit.DB..::..Area
The area to tag
- point
- Type: Autodesk.Revit.DB..::..UV
The position of the area tag
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown if the area view does not exist in the given document. |
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown if the area does not exist in the given document. |