com.esri.arcgis.carto
Interface ITemplateInfos

All Superinterfaces:
Serializable
All Known Implementing Classes:
TemplateInfos

public interface ITemplateInfos
extends Serializable

Array of Templates

Product Availability

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


Method Summary
 void add(ITemplateInfo templateInfo)
          Adds a Template.
 int getCount()
          Template Info.
 ITemplateInfo getElement(int index)
          The Template at the specified position.
 void insert(int index, ITemplateInfo templateInfo)
          Adds a Template at the specified position.
 void remove(int index)
          Removes Template at the specified position.
 void removeAll()
          Removes all Graphic Feature Templates.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Template Info.

Product Availability

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

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

getElement

ITemplateInfo getElement(int index)
                         throws IOException,
                                AutomationException
The Template at the specified position.

Product Availability

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

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes Template at the specified position.

Product Availability

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

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 Graphic Feature Templates.

Product Availability

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

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

add

void add(ITemplateInfo templateInfo)
         throws IOException,
                AutomationException
Adds a Template.

Product Availability

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

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

insert

void insert(int index,
            ITemplateInfo templateInfo)
            throws IOException,
                   AutomationException
Adds a Template at the specified position.

Product Availability

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

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