ESRI.ArcGIS.ADF.IMS
CreateMapView() Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapService Class > CreateMapView Method : CreateMapView() Method




Creates a new MapView object that uses the ArcIMS map service associated with the MapService.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CreateMapView() As MapView
Visual Basic (Usage)Copy Code
Dim instance As MapService
Dim value As MapView
 
value = instance.CreateMapView()
C# 
public MapView CreateMapView()

Return Value

Newly created MapView object.

Remarks

Use this method to create a new MapView for drawing maps.

If using the Map web control (or MapResourceManager), you can obtain the MapView associated with the Map from Map.GetFunctionality method.

If the ArcIMS map service is an ArcMap image service, then this method will use the default data frame in the service. To specify a particular data frame, use CreateMapView(string).

See Also

© 2010 All Rights Reserved.