ESRI.ArcGIS.ADF.Web
DrawExtent Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > ElementGraphicsLayer Class : DrawExtent Method




graphics
The GDI+ drawing surface to draw the graphics on.
imageDescriptor
Describes the screen image on which the extent will be displayed.
extent
The extent of the graphics layer to draw.
Draws the contents of the GraphicElements in the specified extent

Syntax

Visual Basic (Declaration) 
Protected Overrides Function DrawExtent( _
   ByVal graphics As Graphics, _
   ByVal imageDescriptor As ImageDescriptor, _
   ByVal extent As Envelope _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ElementGraphicsLayer
Dim graphics As Graphics
Dim imageDescriptor As ImageDescriptor
Dim extent As Envelope
Dim value As Boolean
 
value = instance.DrawExtent(graphics, imageDescriptor, extent)
C# 
protected override bool DrawExtent( 
   Graphics graphics,
   ImageDescriptor imageDescriptor,
   Envelope extent
)

Parameters

graphics
The GDI+ drawing surface to draw the graphics on.
imageDescriptor
Describes the screen image on which the extent will be displayed.
extent
The extent of the graphics layer to draw.

Return Value

Whether any features were drawn.

See Also

© 2010 All Rights Reserved.