FormatOptions Methods

The FormatOptions type exposes the following members.

Methods

  NameDescription
Public methodCanHaveSymbol()()()()
Checks whether a symbol can be specified to display the unit in this FormatOptions.
Public methodStatic memberCanHaveSymbol(ForgeTypeId)
Checks whether a symbol can be specified to display a given unit.
Public methodCanSuppressLeadingZeros()()()()
Checks whether leading zeros can be suppressed for the display unit in this FormatOptions.
Public methodStatic memberCanSuppressLeadingZeros(ForgeTypeId)
Checks whether leading zeros can be suppressed for a given unit.
Public methodCanSuppressSpaces()()()()
Checks whether spaces can be suppressed for the display unit in this FormatOptions.
Public methodStatic memberCanSuppressSpaces(ForgeTypeId)
Checks whether spaces can be suppressed for a given unit.
Public methodCanSuppressTrailingZeros()()()()
Checks whether trailing zeros can be suppressed for the display unit in this FormatOptions.
Public methodStatic memberCanSuppressTrailingZeros(ForgeTypeId)
Checks whether trailing zeros can be suppressed for a given unit.
Public methodCanUsePlusPrefix()()()()
Checks whether a plus prefix can be displayed for the display unit in this FormatOptions.
Public methodStatic memberCanUsePlusPrefix(ForgeTypeId)
Checks whether a plus prefix can be displayed for a given unit.
Public methodDispose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSymbolTypeId
Gets the identifier of the symbol indicating the unit quantifying the value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnitTypeId
Gets the identifier of the unit used to quantify values.
Public methodGetValidSymbols()()()()
Gets the identifiers of all valid symbols for the unit in this FormatOptions.
Public methodStatic memberGetValidSymbols(ForgeTypeId)
Gets the identifiers of all valid symbols for a given unit.
Public methodIsValidAccuracy(Double)
Checks whether an accuracy is valid for the display unit in this FormatOptions.
Public methodStatic memberIsValidAccuracy(ForgeTypeId, Double)
Checks whether an accuracy is valid for a given unit.
Public methodIsValidForSpec
Checks whether this FormatOptions is valid for a given spec.
Public methodIsValidSymbol(ForgeTypeId)
Checks whether a symbol is valid for the unit in this FormatOptions.
Public methodStatic memberIsValidSymbol(ForgeTypeId, ForgeTypeId)
Checks whether a symbol is valid for a given unit.
Public methodSetSymbolTypeId
Sets the symbol that should be displayed to indicate the unit quantifying the value.
Public methodSetUnitTypeId
Sets the unit used to quantify values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also