ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ImageMapInformation Constructor(String,SpatialReference,Envelope,Envelope)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > ImageMapInformation Class > ImageMapInformation Constructor : ImageMapInformation 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 with the specified settings.

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 ImageMapInformation(dataFrame, defaultSpatialReference, defaultExtent, fullExtent)
C# 
public ImageMapInformation( 
   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.