ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
MapInformation Constructor(String,SpatialReference,Envelope,Envelope)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapInformation Class > MapInformation Constructor : MapInformation Constructor(String,SpatialReference,Envelope,Envelope)




dataframe
Name of the data frame in the map.
defaultspatialreference
The default spatial reference for the map, including coordinate system.
defaultextent
The default map extent.
fullextent
The full extent of the map.
Constructs a new MapInformation object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal dataframe As String, _
   ByVal defaultspatialreference As ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference, _
   ByVal defaultextent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope, _
   ByVal fullextent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope _
)
Visual Basic (Usage)Copy Code
Dim dataframe As String
Dim defaultspatialreference As ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference
Dim defaultextent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
Dim fullextent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
 
Dim instance As New MapInformation(dataframe, defaultspatialreference, defaultextent, fullextent)
C# 
public MapInformation( 
   string dataframe,
   ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference defaultspatialreference,
   ESRI.ArcGIS.ADF.Web.Geometry.Envelope defaultextent,
   ESRI.ArcGIS.ADF.Web.Geometry.Envelope fullextent
)

Parameters

dataframe
Name of the data frame in the map.
defaultspatialreference
The default spatial reference for the map, including coordinate system.
defaultextent
The default map extent.
fullextent
The full extent of the map.

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.