com.esri.arcgis.carto
Interface IAnnotationPropertiesConverter

All Superinterfaces:
Serializable
All Known Implementing Classes:
MaplexAnnotationPropertiesConverter

public interface IAnnotationPropertiesConverter
extends Serializable

Provides access to members that convert annotation properties from one type to another.

Product Availability

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


Method Summary
 boolean canConvert(IUID sourceAnnotationPropertiesID, IUID destinationAnnotationPropertiesID)
          Indicates whether the annotation properties can be converted by this object.
 IAnnotateLayerPropertiesCollection convert(int type, IDisplayTransformation displayTransformation, IUID sourceAnnotationPropertiesID, IAnnotateLayerPropertiesCollection sourceProps, IUID destinationAnnotationPropertiesID)
          Converts the source annotation properties into the destination annotation properties.
 

Method Detail

canConvert

boolean canConvert(IUID sourceAnnotationPropertiesID,
                   IUID destinationAnnotationPropertiesID)
                   throws IOException,
                          AutomationException
Indicates whether the annotation properties can be converted by this object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
sourceAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
destinationAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
The canConvert
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convert

IAnnotateLayerPropertiesCollection convert(int type,
                                           IDisplayTransformation displayTransformation,
                                           IUID sourceAnnotationPropertiesID,
                                           IAnnotateLayerPropertiesCollection sourceProps,
                                           IUID destinationAnnotationPropertiesID)
                                           throws IOException,
                                                  AutomationException
Converts the source annotation properties into the destination annotation properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
type - A com.esri.arcgis.geometry.esriGeometryType constant (in)
displayTransformation - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
sourceAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
sourceProps - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
destinationAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.