com.esri.arcgis.output
Interface IFontMapCollection

All Superinterfaces:
Serializable
All Known Implementing Classes:
FontMapCollection

public interface IFontMapCollection
extends Serializable

Provides access to members that control a Collection of Font Map Objects.

Remarks

The font map collection houses the set of font maps used by the PS printer or PS exporter objects.

The FontMapCollection is a collection object whose life cycle is tied to that of the object that created it, such as PsPrinter or PsExporter. This object controls the set of FontMap objects defined for use with the PostScript driver. An object of this type is returned by IFontMapEnvironment::FontMapCollection. Use this object to make your adjustments to the font mapping environment.

By default, the collection returned by IFontMapEnvironment::FontMapCollection will have some values in it. These default values are defined by the system. You can then add additional FontMap objects to the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void add(IFontMap fontMap)
          Add an IFontMap to the FontMap collection.
 int getCount()
          The count of the FontMap collection.
 IFontMap getFontMap(int index)
          An IFontMap from the FontMap collection.
 void insert(int index, IFontMap fontMap)
          Insert an IFontMap into the FontMap collection at position index.
 void remove(int index)
          Removes IFontMap at index from the FontMap collection.
 void removeAll()
          Removes all IFontMaps from the FontMap collection.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The count of the FontMap collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFontMap

IFontMap getFontMap(int index)
                    throws IOException,
                           AutomationException
An IFontMap from the FontMap collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.output.IFontMap
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IFontMap fontMap)
         throws IOException,
                AutomationException
Add an IFontMap to the FontMap collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fontMap - A reference to a com.esri.arcgis.output.IFontMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            IFontMap fontMap)
            throws IOException,
                   AutomationException
Insert an IFontMap into the FontMap collection at position index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
fontMap - A reference to a com.esri.arcgis.output.IFontMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes IFontMap at index from the FontMap collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all IFontMaps from the FontMap collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.