This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IF > IFontMapEnvironment Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the Font Mapping Environment.
Description | ||
---|---|---|
ApplyDefaultMappingDesc | The Font Mapping checkbox description string. | |
DefaultMapping | The Default Font Mapping string. | |
DefaultMappingsChoices | The Default Mapping Choices for Font Substitution. | |
FontMapCollection | The FontMap Collection. | |
SaveMappings | Indicates whether to save font mappings. |
CoClasses and Classes | Description |
---|---|
FontMapEnvironment | A global collection of font mapping settings. |
PDFDriver | Superseded by ExportPDF. Class used to print maps with the PDF (Portable Document Format) driver. |
PDFExporter | Superseded by ExportPDF. Provides access to the PDF (Portable Document Format) exporter. |
PsExporter | Superseded by ExportPS. Class used to export maps to EPS (Encapsulated PostScript) format. |
PsPrinter | Class used to print maps with the PostScript Printer Driver. |
The IFontMapEnvironment interface tracks the collection of FontMap objects that have been defined and allows for additional settings for the
default font mapping to use with the PostScript driver. Use this interface when you want to control the set of fonts used by the PostScript driver. The FontMapCollection property returns a collection object to allow the developer to add and remove FontMap objects. Since the
FontMapCollection property is read-only, you cannot create your own FontMapCollection object; you must instead manipulate the existing one.
The ArcMap application sets up a default list of font mappings whenever a PostScript Printer is selected. ArcObjects developers are responsible for setting this up themselves. See the example code for a demonstration of how to do this.