2024 Class
Changes 0
C

ExportFontTable

Description:
A table supporting a mapping of Revit font names to font names that will be set in the target export format.
Remarks:

This table is structured as a mapping from ExportFontKey to ExportFontInfo members. The ExportFontKey contains the identification information for the font table: the Revit font name. The ExportFontInfo contains the font name to use in the export format.

The table can be accessed via direct iteration as a collection of KeyValuePairs, or by traversal of the stored keys obtained from GetKeys(), or via specific lookup of a key constructed externally. In all cases, the ExportFontInfo returned will be a copy of the ExportFontInfo from the table. In order to make changes to the ExportFontInfo and use those settings during export, set the modified ExportFontInfo back into the table using the same key.

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExportFontTable
public class ExportFontTable : IEnumerable<KeyValuePair<ExportFontKey, ExportFontInfo>>, 
	IDisposable
Name Return Type Description
C ExportFontTable() None Constructs a new ExportFontTable with default values.
Name Return Type Description
M Add(ExportFontKey, ExportFontInfo) None Inserts a (key,info) pair into Export font table.
M Clear() None Removes all contents stored in the table.
M ContainsKey(ExportFontKey) bool Checks whether a font key exists in the table.
M Dispose() None Releases all resources used by the
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetExportFontInfo(ExportFontKey) ExportFontInfo Gets a copy of the font info associated to the input font key.
M GetFontTableIterator() ExportFontTableIterator Returns a FontTableIterator that iterates through the collection.
M GetKeys() IList<ExportFontKey> Returns a collection of the keys stored in this table.
M GetValues() IList<ExportFontInfo> Returns a collection of the values stored in this table.
M Remove(ExportFontKey) None Removes the pair (key, info) by font key.
Name Return Type Description
P Count int Count of the items contained in the collection.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P Item ExportFontInfo A copy of the for the font's .