FormatOptions Methods


Format Options Methods

The FormatOptions type exposes the following members.

Methods
Name Description
Public method CanHaveSymbol Checks whether a symbol can be specified to display the unit in this FormatOptions.
Public method Static member CanHaveSymbol(ForgeTypeId) Checks whether a symbol can be specified to display a given unit.
Public method CanSuppressLeadingZeros Checks whether leading zeros can be suppressed for the display unit in this FormatOptions.
Public method Static member CanSuppressLeadingZeros(ForgeTypeId) Checks whether leading zeros can be suppressed for a given unit.
Public method CanSuppressSpaces Checks whether spaces can be suppressed for the display unit in this FormatOptions.
Public method Static member CanSuppressSpaces(ForgeTypeId) Checks whether spaces can be suppressed for a given unit.
Public method CanSuppressTrailingZeros Checks whether trailing zeros can be suppressed for the display unit in this FormatOptions.
Public method Static member CanSuppressTrailingZeros(ForgeTypeId) Checks whether trailing zeros can be suppressed for a given unit.
Public method CanUsePlusPrefix Checks whether a plus prefix can be displayed for the display unit in this FormatOptions.
Public method Static member CanUsePlusPrefix(ForgeTypeId) Checks whether a plus prefix can be displayed for a given unit.
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetSymbolTypeId Gets the identifier of the symbol indicating the unit quantifying the value.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method GetUnitTypeId Gets the identifier of the unit used to quantify values.
Public method GetValidSymbols Gets the identifiers of all valid symbols for the unit in this FormatOptions.
Public method Static member GetValidSymbols(ForgeTypeId) Gets the identifiers of all valid symbols for a given unit.
Public method IsValidAccuracy(Double) Checks whether an accuracy is valid for the display unit in this FormatOptions.
Public method Static member IsValidAccuracy(ForgeTypeId, Double) Checks whether an accuracy is valid for a given unit.
Public method IsValidForSpec Checks whether this FormatOptions is valid for a given spec.
Public method IsValidSymbol(ForgeTypeId) Checks whether a symbol is valid for the unit in this FormatOptions.
Public method Static member IsValidSymbol(ForgeTypeId, ForgeTypeId) Checks whether a symbol is valid for a given unit.
Public method SetSymbolTypeId Sets the symbol that should be displayed to indicate the unit quantifying the value.
Public method SetUnitTypeId Sets the unit used to quantify values.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also