Creates a new area tag.

Namespace: Autodesk.Revit.Creation
Assembly: 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

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentExceptionThrown if the area view does not exist in the given document.
Autodesk.Revit.Exceptions..::..ArgumentExceptionThrown if the area does not exist in the given document.

See Also