LabelUtils
Description:
Used to obtain user-visible names for enums.
Used to obtain user-visible names for enums.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.LabelUtils
System.Object
Autodesk.Revit.DB.LabelUtils
public class LabelUtils : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetLabelFor(BuiltInCategory) | string | Gets the user-visible name for a BuiltInCategory. |
| GetLabelFor(BuiltInParameter) | string | Gets the user-visible name for a BuiltInParameter. |
| GetLabelFor(BuiltInParameterGroup) | string | Gets the user-visible name for a BuiltInParameterGroup. |
| GetLabelFor(BuiltInParameter, LanguageType) | string | Gets the user-visible name for a BuiltInParameter in a specific LanguageType. |
| GetLabelFor(DisplayUnitType) | string | Gets the user-visible name for a DisplayUnitType. |
| GetLabelFor(DuctLossMethodType, Document) | string | Gets the user-visible name for a DuctLossMethodType. |
| GetLabelFor(gbXMLBuildingType, Document) | string | Gets the user-visible name for a gbXMLBuildingType. |
| GetLabelFor(ParameterType) | string | Gets the user-visible name for a ParameterType. |
| GetLabelFor(PipeFlowState, Document) | string | Gets the user-visible name for a PipeFlowState. |
| GetLabelFor(PipeLossMethodType, Document) | string | Gets the user-visible name for a PipeLossMethodType. |
| GetLabelFor(UnitSymbolType) | string | Gets the user-visible name for a UnitSymbolType. |
| GetLabelFor(UnitType) | string | Gets the user-visible name for a UnitType. |
| GetLabelForSpec(ForgeTypeId) | string | Gets the user-visible name for a spec. |
| GetLabelForSymbol(ForgeTypeId) | string | Gets the user-visible name for a symbol. |
| GetLabelForUnit(ForgeTypeId) | string | Gets the user-visible name for a unit. |
| GetStructuralSectionShapeName(StructuralSectionShape) | string | Gets the user-visible name for a StructuralSectionShape. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |