com.esri.arcgis.carto
Interface ILayerDrawSetup

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterLayer, TerrainLayer

public interface ILayerDrawSetup
extends Serializable

Provides access to layer draw setups.

Product Availability

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


Method Summary
 void afterDraw(int viewPhase, IDisplay display, ITrackCancel trackCancel)
          Executes after the layer drawn to the display for the given draw phase.
 void beforeDraw(int viewPhase, IDisplay display, ITrackCancel trackCancel)
          Executes before the layer draws to the display for the given draw phase.
 

Method Detail

beforeDraw

void beforeDraw(int viewPhase,
                IDisplay display,
                ITrackCancel trackCancel)
                throws IOException,
                       AutomationException
Executes before the layer draws to the display for the given draw phase.

Product Availability

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

Parameters:
viewPhase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDraw

void afterDraw(int viewPhase,
               IDisplay display,
               ITrackCancel trackCancel)
               throws IOException,
                      AutomationException
Executes after the layer drawn to the display for the given draw phase.

Product Availability

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

Parameters:
viewPhase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.