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




map
The map to change extent for.
extent
The extent to apply to the map.
Draws the pagelayout after changing the extent of the specified map.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MapDrawExtent( _
   ByVal map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal extent As ESRI.ArcGIS.Geometry.IEnvelope _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim extent As ESRI.ArcGIS.Geometry.IEnvelope
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.MapDrawExtent(map, extent)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage MapDrawExtent( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
   ESRI.ArcGIS.Geometry.IEnvelope extent
)

Parameters

map
The map to change extent for.
extent
The extent to apply to the map.

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.