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




tileFunctionality
Tile functionality to use for drawing.
mapFunctionalityName
The MapFunctionality for drawing.
extent
The extent to draw.
imageDescriptor
Contains information about the image to draw.
matchingLevelIndex
The tile level-of-detail index.
resample
If true the output will be resampled to fit the view, if false, extentToDraw will be clipped to fit the size and level.
Draws the map at the input extent.

Syntax

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

Parameters

tileFunctionality
Tile functionality to use for drawing.
mapFunctionalityName
The MapFunctionality for drawing.
extent
The extent to draw.
imageDescriptor
Contains information about the image to draw.
matchingLevelIndex
The tile level-of-detail index.
resample
If true the output will be resampled to fit the view, if false, extentToDraw will be clipped to fit the size and level.

Return Value

A MapImage object with map images or URLs.

See Also

© 2010 All Rights Reserved.