The Autodesk.Revit.DB.ExportFontInfo class represents font information for export settings in Autodesk Revit.
This class has the following properties:
This class does not contain any methods.
The following example shows how to create an instance of the Autodesk.Revit.DB.ExportFontInfo class and set its properties:
Autodesk.Revit.DB.ExportFontInfo fontInfo = new Autodesk.Revit.DB.ExportFontInfo();
fontInfo.Bold = true;
fontInfo.Italic = true;
fontInfo.Underline = true;
fontInfo.FontName = "Arial";
Font information is used when exporting text elements in Autodesk Revit. The font name must match a font installed on the system in order to be exported correctly. If the font is not installed on the system, Revit will map the font to a different one during export.