2020 Class
Changes 8
C

LabelUtils

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