AlignmentStationLabelOptions
Represents an object containing options for creating an AlignmentStationLabel.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Infrastructure.AlignmentStationLabelOptions
Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class AlignmentStationLabelOptions
The AlignmentStationLabelOptions type exposes the following members.
Constructors
Name
Description
Public Method
AlignmentStationLabelOptions
Creates an object with default values.
Properties
Name
Description
Public Property
HasLeader
Specifies if the label will have a leader. The default value is true.
Public Property
LeaderEnd
Specifies the leader end point, in model coordinates. The default value is null. When null, the end point will be the same as the Origin point, driven by the
Station
value.Public Property
LeaderShoulder
Specifies the leader shoulder point, in model coordinates. The default value is null. When null, the shoulder point will be the same as the Origin point, driven by the
Station
value.Public Property
Station
Specifies the station at which the label will be placed, in Revit internal model units (standard Imperial feet). The station determines the location of the label’s origin: Origin by setting it to the closest point on the alignment geometry which corresponds to this station.
Public Property
TypeId
Specifies the ElementId of the label type. The default value is InvalidElementId. In this case, the default type id for alignment station labels in the document is used.
Methods
Name
Description
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)