Fired at the beginning of draw.
[Visual Basic .NET] |
---|
Public Event OnDrawBegin( _
ByVal Renderer As AgEsri3dRenderer, _
ByVal West As Double, _
ByVal South As Double, _
ByVal East As Double, _
ByVal North As Double, _
ByVal Left As Integer, _
ByVal Top As Integer, _
ByVal Right As Integer, _
ByVal Bottom As Integer, _
ByVal ScaleRatio As Double _
)
|
[C#] |
---|
public void OnDrawBegin(
|
[Managed C++] |
---|
public: void OnDrawBegin(
|
- Renderer
- The source of the event.
- West
- West limit of the full extent in world coordinates.
- South
- South limit of the full extent in world coordinates.
- East
- East limit of the full extent in world coordinates.
- North
- North limit of the full extent in world coordinates.
- Left
- Left side coordinate of the devive frame (in device coordinates).
- Top
- Top side coordinate of the devive frame (in device coordinates).
- Right
- Right side coordinate of the devive frame (in device coordinates).
- Bottom
- Bottom side coordinate of the devive frame (in device coordinates).
- ScaleRatio
- The current map scale ratio.
This event is raised when the current 3D view changes and the rendering process starts for the new view. The parameters passed in to the event describe the new view, both in world and device coordinates.
The current map scale ratio is also passed in, enabling to update other user interface elements that are dependant on the scale ratio (for instance in a layer tree, this can be used to mark the layers currently visible).