com.esri.arcgis.carto
Interface IFDOGraphicsLayerRead

All Superinterfaces:
Serializable
All Known Implementing Classes:
FDOGraphicsLayer

public interface IFDOGraphicsLayerRead
extends Serializable

Provides access to members that control the FDO graphics layer read methods.

Product Availability

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


Method Summary
 IEnumElement generateGraphics(IEnvelope box, IDisplay display, ITrackCancel pTrackCancel, boolean useGroupSymbolElement)
          Generates graphic elements from the annotation features.
 IElement getNextGraphic()
          Generates the next graphic element in the graphics generation loop.
 void nextFeatureAndGraphic(IFeature[] feature, IElement[] element)
          Generates the next feature and graphic element in the graphics generation loop.
 void startGeneratingGraphics(IEnvelope box, IDisplay display, boolean withAttributes, boolean useGroupSymbolElement, boolean selectedRecordsOnly)
          Starts a graphics generation process from the annotation features.
 

Method Detail

generateGraphics

IEnumElement generateGraphics(IEnvelope box,
                              IDisplay display,
                              ITrackCancel pTrackCancel,
                              boolean useGroupSymbolElement)
                              throws IOException,
                                     AutomationException
Generates graphic elements from the annotation features. The optional envelope specifies a bounding box. The display is used for converting from map units.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
box - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
useGroupSymbolElement - The useGroupSymbolElement (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startGeneratingGraphics

void startGeneratingGraphics(IEnvelope box,
                             IDisplay display,
                             boolean withAttributes,
                             boolean useGroupSymbolElement,
                             boolean selectedRecordsOnly)
                             throws IOException,
                                    AutomationException
Starts a graphics generation process from the annotation features. The optional envelope specifies a bounding box. The display is used for converting from map units.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
box - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
withAttributes - The withAttributes (in)
useGroupSymbolElement - The useGroupSymbolElement (in)
selectedRecordsOnly - The selectedRecordsOnly (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNextGraphic

IElement getNextGraphic()
                        throws IOException,
                               AutomationException
Generates the next graphic element in the graphics generation loop. Returns a NULL element after the last annotation feature has been read. Call only after StartGeneratingGraphics.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.carto.IElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextFeatureAndGraphic

void nextFeatureAndGraphic(IFeature[] feature,
                           IElement[] element)
                           throws IOException,
                                  AutomationException
Generates the next feature and graphic element in the graphics generation loop. Returns a NULL feature and element after the last annotation feature has been read. Call only after StartGeneratingGraphics.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (out: use single element array)
element - A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.