AGI STK Esri Display 11 Send comments on this topic.
OnDrawProgress Event (AgEsri3dRenderer)
See Also 
Renderer
The source of the event.
ProgressMsg
Message reporting current stage in the map rendering process.





Description

Fired to inform about rendering progress.

Syntax

[Visual Basic .NET]
Public Event OnDrawProgress( _
   ByVal Renderer As AgEsri3dRenderer, _
   ByVal ProgressMsg As String _
)

[C#]
public void OnDrawProgress(
AgEsri3dRenderer Renderer,
string ProgressMsg
);

[Managed C++]
public: void OnDrawProgress(
AgEsri3dRenderer Renderer,
String __gc ^ ProgressMsg
);

[Java]
public  onDrawProgress(
AgEsri3dRenderer Renderer,
String ProgressMsg
);

[Unmanaged C++]
public: HRESULT OnDrawProgress(
AgEsri3dRenderer Renderer,
BSTR ProgressMsg
);

Parameters

Renderer
The source of the event.
ProgressMsg
Message reporting current stage in the map rendering process.

Remarks

Typically used to update the status bar of your application in order to provide feedback to the user about the rendering process.

This event is called at various stages during the rendering process for feature layers:

  • When starting to open a map document
  • When starting to render a layer.
  • When starting the labeling pass.

For instance the following messages were sent when opening the Street Map USA map document:

Opening map document...
Drawing layer Ocean Background
Drawing layer Canada and Mexico Background
Drawing layer US Background (National and State)
Drawing layer States (National)
Labeling...
Updating labels...

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1