A leader object that can be attached to annotation elements such as text notes.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.APIObject
Autodesk.Revit.DB.Leader
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class Leader : APIObject
The Leader type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Anchor | Anchor point of the Leader | |
| Elbow | Elbow point of the Leader. | |
| End | End point of the Leader. | |
| IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject) | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| LeaderShape | Geometric style of the leader |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
