AlignmentStationLabel.GetAlignmentStationLabels
Description:
Returns all alignment station labels placed on the given alignment in the given view.
Returns all alignment station labels placed on the given alignment in the given view.
Remarks:
The resulting collection may contain both "individual" labels (created via Create(Alignment, View, AlignmentStationLabelOptions)) and "labels in set" (created via CreateSet(Alignment, View, AlignmentStationLabelSetOptions)). These labels have categories respectively OST_Alignments and OST_AlignmentStationLabelSets.
The resulting collection may contain both "individual" labels (created via Create(Alignment, View, AlignmentStationLabelOptions)) and "labels in set" (created via CreateSet(Alignment, View, AlignmentStationLabelSetOptions)). These labels have categories respectively OST_Alignments and OST_AlignmentStationLabelSets.
Overloads (2):
GetAlignmentStationLabels(Alignment,ElementId)
public static ICollection<AlignmentStationLabel> GetAlignmentStationLabels(
Alignment alignment,
ElementId viewId
)
-
alignmentThe alignment for which the labels are returned.
-
viewIdThe ElementId of the view for which the labels are returned.
Return Value
ICollection<AlignmentStationLabel>