GetExportFontInfo Method


Gets a copy of the font info associated to the input font key.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2014

Syntax

C#
public ExportFontInfo GetExportFontInfo(
	ExportFontKey exportFontKey
)
Visual Basic
Public Function GetExportFontInfo ( _
	exportFontKey As ExportFontKey _
) As ExportFontInfo
Visual C++
public:
ExportFontInfo^ GetExportFontInfo(
	ExportFontKey^ exportFontKey
)

Parameters

exportFontKey
Type: Autodesk.Revit.DB ExportFontKey
The export font Key.

Return Value

Returns the fontInfo for this key.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException An entry with the given key is not present in the table.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →