ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
MapDrawExtent(LayoutImageDataFrameInfo,Int32,Int32,Int32,Int32) Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.MapDrawExtent(map, left, top, right, bottom)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage MapDrawExtent( 
   ESRI.ArcGIS.ADF.Web.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.