FormatValueOptions Class

Options for formatting numbers with units into strings.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBFormatValueOptions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FormatValueOptions : IDisposable

The FormatValueOptions type exposes the following members.

Constructors
 NameDescription
Public methodFormatValueOptions Creates a new FormatValueOptions object with default settings.
Top
Properties
 NameDescription
Public propertyAppendUnitSymbol Indicates if a unit symbol should be appended regardless of the settings in the FormatOptions.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the FormatValueOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetFormatOptions Gets the FormatOptions to optionally override the default settings in the Units class.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetFormatOptions Sets the FormatOptions to optionally override the default settings in the Units class.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also