ArcObjects Library Reference (3DAnalyst)  

ISceneGraphEvents.AfterDraw Event

Fired when drawing finishes.

[Visual Basic 6.0]
Event AfterDraw(
    ByVal pViewer As ISceneViewer _
)
[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