This document is archived and information here might be outdated.  Recommended version.

ISceneGraphEvents.AfterDraw Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IS > ISceneGraphEvents Interface > ISceneGraphEvents.AfterDraw Event
ArcGIS Developer Help

ISceneGraphEvents.AfterDraw Event

Fired when drawing finishes.

[Visual Basic .NET]
Public Event AfterDraw As AfterDrawEventHandler
public event AfterDrawEventHandler AfterDraw
HRESULT AfterDraw(
  ISceneViewer* pViewer
pViewer [in]

pViewer is a parameter of type ISceneViewer*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.


This event method is often used by an OpenGL routine that renders something after the main features in the scene are drawn.  Just like the art of painting, one normally needs to draw the background first and then the main feature, followed by foreground features or other miscellaneous features.  So this method is generally used for drawing of graphics after the background and the main features are drawn.  It can also be used for executing some routines other than drawing.

See Also

ISceneGraphEvents Interface