FormatValueOptions
Options for formatting numbers with units into strings.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FormatValueOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FormatValueOptions : IDisposableThe FormatValueOptions type exposes the following members.
Constructors
Name
Description
Public Method
FormatValueOptions
Creates a new FormatValueOptions object with default settings.
Properties
Name
Description
Public Property
AppendUnitSymbol
Indicates if a unit symbol should be appended regardless of the settings in the FormatOptions.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the FormatValueOptions
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetFormatOptions
Gets the FormatOptions to optionally override the default settings in the Units class.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetFormatOptions
Sets the FormatOptions to optionally override the default settings in the Units class.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)