ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapDrawExtent(LayoutImageDataFrameInfo,Int32,Int32,Int32,Int32) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class > MapDrawExtent Method : MapDrawExtent(LayoutImageDataFrameInfo,Int32,Int32,Int32,Int32) Method




map
The map to change extent for.
left
The left of the map extent to apply, in pixels.
top
The top of the map extent to apply, in pixels.
right
The right of the map extent to apply, in pixels.
bottom
The bottom of the map extent to apply, in pixels.
Draws the pagelayout after changing the extent of the specified map using the pixel coordinates provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapDrawExtent( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
) As LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim value As LayoutImage
 
value = instance.MapDrawExtent(map, left, top, right, bottom)
C# 
public LayoutImage MapDrawExtent( 
   LayoutImageDataFrameInfo map,
   int left,
   int top,
   int right,
   int bottom
)

Parameters

map
The map to change extent for.
left
The left of the map extent to apply, in pixels.
top
The top of the map extent to apply, in pixels.
right
The right of the map extent to apply, in pixels.
bottom
The bottom of the map extent to apply, in pixels.

Return Value

The result of the draw.

See Also

© 2010 All Rights Reserved.