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




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.
rotation
The default rotation of the map, in degrees from north.
Constructs a new MapInformation object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal dataframe As String, _
   ByVal defaultspatialreference As SpatialReference, _
   ByVal defaultextent As Envelope, _
   ByVal fullextent As Envelope, _
   ByVal rotation As Double _
)
Visual Basic (Usage)Copy Code
Dim dataframe As String
Dim defaultspatialreference As SpatialReference
Dim defaultextent As Envelope
Dim fullextent As Envelope
Dim rotation As Double
 
Dim instance As MapInformation(dataframe, defaultspatialreference, defaultextent, fullextent, rotation)
C# 
public MapInformation( 
   string dataframe,
   SpatialReference defaultspatialreference,
   Envelope defaultextent,
   Envelope fullextent,
   double rotation
)

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.
rotation
The default rotation of the map, in degrees from north.

See Also

© 2010 All Rights Reserved.