2027 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 Inherited From
C ExportFontTable() None Constructs a new ExportFontTable with default values.
Name Return Type Description Inherited From
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) Boolean Checks whether a font key exists in the table.
M Dispose() None Releases all resources used by the ExportFontTable
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() ExportFontKey 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 GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetKeys() IList<ExportFontKey> Returns a collection of the keys stored in this table.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
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.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Count int Count of the items contained in the collection.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Item ExportFontInfo A copy of the ExportFontInfo for the font's ExportFontKey .