Fired after an individual view item is drawn. Example: view items include layers in a map or elements in a page layout.
[Visual Basic 6.0] Event AfterItemDraw(
ByVal Index As Integer, _
ByVal Display As IDisplay, _
ByVal phase As esriDrawPhase _
)
[Visual Basic .NET] Public Event AfterItemDraw As AfterItemDrawEventHandler
[C#] public event AfterItemDrawEventHandler AfterItemDraw
[C++]
HRESULT AfterItemDraw(
short Index,
IDisplay* Display,
esriDrawPhase phase
);
[C++]Parameters
Index [in] Index is a parameter of type short Display [in]Display is a parameter of type IDisplay
phasephase is a parameter of type esriDrawPhase
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
AfterItemDraw can be used to execute after each individual item has drawn. Event firing can be an expensive operation (time consuming) when there are many layers in a map, however. As a result, the AfterItemDraw event is only fired when the IViewManger::VerboseEvents property is set to True. By default this property is False.