RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.GetParameterFormatOptions

Method
Description:
Returns a FormatOptions override for the element Parameter, or a default FormatOptions if no override exists.
Syntax
Parameters
Parameter Type Description
parameterId ElementId Id of parameter for which FormatOptions will be returned.
Return Value
Type Description
FormatOptions Format options of element parameter. If the UseDefault property is true, then no formatting overrides have been defined in the element for the specified parameter, and the FormatOptions for the parameter should be obtained from the Unit object, which can be obtained from the Document.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null