UnitFormatUtils
Description:
A utility class for formatting and parsing numbers with units.
A utility class for formatting and parsing numbers with units.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.UnitFormatUtils
System.Object
Autodesk.Revit.DB.UnitFormatUtils
public static class UnitFormatUtils
| Name | Return Type | Description |
|---|---|---|
| Format(Units, ForgeTypeId, Double, Boolean) | String | Formats a number with units into a string. |
| Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions) | String | Formats a number with units into a string. |
| TryParse(Units, ForgeTypeId, String, Double%) | Boolean | Parses a formatted string into a number with units if possible. |
| TryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%) | Boolean | Parses a formatted string into a number with units if possible. |
| TryParse(Units, ForgeTypeId, String, Double%, String%) | Boolean | Parses a formatted string into a number with units if possible. |
| TryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%, String%) | Boolean | Parses a formatted string into a number with units if possible. |