com.esri.arcgis.carto
Interface ILayerExtensionDraw

All Superinterfaces:
Serializable
All Known Implementing Classes:
HatchLayerExtension, RouteLayerExtension

public interface ILayerExtensionDraw
extends Serializable

Provides access to events before and after a layer draws.

Product Availability

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


Method Summary
 void afterLayerDraw(ILayer pLayer, int drawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel)
          Drawing event called after layer draws.
 void beforeLayerDraw(ILayer pLayer, int drawPhase, IDisplay pDisplay, ITrackCancel pTrackCancel)
          Drawing event called before layer draws.
 

Method Detail

beforeLayerDraw

void beforeLayerDraw(ILayer pLayer,
                     int drawPhase,
                     IDisplay pDisplay,
                     ITrackCancel pTrackCancel)
                     throws IOException,
                            AutomationException
Drawing event called before layer draws.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pTrackCancel - 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.

afterLayerDraw

void afterLayerDraw(ILayer pLayer,
                    int drawPhase,
                    IDisplay pDisplay,
                    ITrackCancel pTrackCancel)
                    throws IOException,
                           AutomationException
Drawing event called after layer draws.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pTrackCancel - 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.