com.esri.arcgis.carto
Interface ILayerDrawingPhase

All Superinterfaces:
Serializable
All Known Implementing Classes:
CadAnnotationLayer, CoverageAnnotationLayer, FDOGraphicsLayer, FDOGraphicsSublayer, ILayerDrawingPhaseProxy

public interface ILayerDrawingPhase
extends Serializable

Provides access to members that control the drawing phase of a layer.

Remarks

ILayerDrawingPhase is implemented by annotation layers that support main drawing in either the esriDPAnnotation or esriDPGeography phases. Prior to the ArcGIS 9.0 release, these layers always drew in esriDPAnnotation. Set the draw phase to esriDPGeography to change the layer so that it draws in the geography phase like regular FeatureLayers (aka Table of Contents order).

Product Availability

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


Method Summary
 int getDrawPhase()
          Draw phase in which layer is drawn.
 void setDrawPhase(int pDrawPhase)
          Draw phase in which layer is drawn.
 

Method Detail

getDrawPhase

int getDrawPhase()
                 throws IOException,
                        AutomationException
Draw phase in which layer is drawn.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.system.esriDrawPhase constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDrawPhase

void setDrawPhase(int pDrawPhase)
                  throws IOException,
                         AutomationException
Draw phase in which layer is drawn.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pDrawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.