com.esri.arcgis.carto
Interface IEditTemplateFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
EditTemplateFactory

public interface IEditTemplateFactory
extends Serializable

IEditTemplateFactory Interface

Product Availability

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


Method Summary
 IEditTemplate create(String name, ILayer layer)
          Creats a new edit template.
 

Method Detail

create

IEditTemplate create(String name,
                     ILayer layer)
                     throws IOException,
                            AutomationException
Creats a new edit template. Use IEditor3.AddTemplate to add the template to the editor.

Product Availability

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

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