ESRI.ArcGIS.ADF.Web.UI.WebControls
DrawExtent(ITileFunctionality,String,Envelope,ImageDescriptor,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TileDrawExtent Class > DrawExtent Method : DrawExtent(ITileFunctionality,String,Envelope,ImageDescriptor,Boolean) Method




tileFunctionality
The tile functionality to handle tiles.
mapFunctionalityName
The name of the MapFunctionality used to draw maps.
extentToDraw
The specific extent to draw.
imageDescriptor
Contains information about the images to draw.
resample
If true the output will be resampled to fit the view, if false, the view will be extended.
Draws the extent requested by the user for a single layer.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function DrawExtent( _
   ByVal tileFunctionality As ITileFunctionality, _
   ByVal mapFunctionalityName As String, _
   ByVal extentToDraw As Envelope, _
   ByVal imageDescriptor As ImageDescriptor, _
   ByVal resample As Boolean _
) As MapImage
Visual Basic (Usage)Copy Code
Dim tileFunctionality As ITileFunctionality
Dim mapFunctionalityName As String
Dim extentToDraw As Envelope
Dim imageDescriptor As ImageDescriptor
Dim resample As Boolean
Dim value As MapImage
 
value = TileDrawExtent.DrawExtent(tileFunctionality, mapFunctionalityName, extentToDraw, imageDescriptor, resample)
C# 
public static MapImage DrawExtent( 
   ITileFunctionality tileFunctionality,
   string mapFunctionalityName,
   Envelope extentToDraw,
   ImageDescriptor imageDescriptor,
   bool resample
)

Parameters

tileFunctionality
The tile functionality to handle tiles.
mapFunctionalityName
The name of the MapFunctionality used to draw maps.
extentToDraw
The specific extent to draw.
imageDescriptor
Contains information about the images to draw.
resample
If true the output will be resampled to fit the view, if false, the view will be extended.

Return Value

MapImage with data or URL of the map.

See Also

© 2010 All Rights Reserved.