LocalizationUnitSystemName Method |
Gets localized unit system name. Uses current application locale id.
Namespace:
Rhino.UI
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static string UnitSystemName(
UnitSystem units,
bool capitalize,
bool singular,
bool abbreviate
)
Public Shared Function UnitSystemName (
units As UnitSystem,
capitalize As Boolean,
singular As Boolean,
abbreviate As Boolean
) As String
Parameters
- units
- Type: RhinoUnitSystem
The unit system. - capitalize
- Type: SystemBoolean
true if the name should be capitalized. - singular
- Type: SystemBoolean
true if the name is expressed for a singular element. - abbreviate
- Type: SystemBoolean
true if name should be the abbreviation.
Return Value
Type:
StringThe unit system name.
See Also