LengthUnitIsKnownLengthUnit Method |
Determines whether the provided value is a known unit system.
Namespace:
Rhino
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static bool IsKnownLengthUnit(
UnitSystem unitSystem,
out LengthUnit lengthUnit
)
Public Shared Function IsKnownLengthUnit (
unitSystem As UnitSystem,
<OutAttribute> ByRef lengthUnit As LengthUnit
) As Boolean
Parameters
- unitSystem
- Type: RhinoUnitSystem
- lengthUnit
- Type: RhinoLengthUnit
Return Value
Type:
BooleanTrue when provided
lengthUnit value is a valid known
UnitSystem, False otherwise.
Remarks
See Also