ESRI.ArcGIS.ADF.Web.DataSources.IMS
MapInformation Constructor(String,SpatialReference,Envelope,Envelope)
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS 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 with the specified settings.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal dataFrame As String, _
   ByVal defaultSpatialReference As SpatialReference, _
   ByVal defaultExtent As Envelope, _
   ByVal fullExtent As Envelope _
)
Visual Basic (Usage)Copy Code
Dim dataFrame As String
Dim defaultSpatialReference As SpatialReference
Dim defaultExtent As Envelope
Dim fullExtent As Envelope
 
Dim instance As MapInformation(dataFrame, defaultSpatialReference, defaultExtent, fullExtent)
C# 
public MapInformation( 
   string dataFrame,
   SpatialReference defaultSpatialReference,
   Envelope defaultExtent,
   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.

See Also

© 2010 All Rights Reserved.