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


ISceneGraphEvents.AfterDraw Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneGraphEvents.AfterDraw Event

Fired when drawing finishes.

[Visual Basic .NET]
Public Event AfterDraw As AfterDrawEventHandler
[C#]
public event AfterDrawEventHandler AfterDraw
[C++]
HRESULT AfterDraw(
  ISceneViewer* pViewer
);
[C++]

Parameters pViewer [in]
pViewer is a parameter of type ISceneViewer

Product Availability

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

Remarks

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