Share

FormatValueOptions Class

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: 26.2.0.0 (26.2.0.0)

Syntax

C#

public class FormatValueOptions : IDisposable

The FormatValueOptions type exposes the following members.

Constructors

 NameDescription
Public methodFormatValueOptions Creates a new FormatValueOptions object with default settings.

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.

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)

See Also

Reference

Was this information helpful?