ESRI.ArcGIS.ADF.IMS
Publisher Class
Members  See Also 
ESRI.ArcGIS.ADF.IMS.Administration Namespace : Publisher Class




Publisher is used for writing ArcXML Map Configuration files.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class Publisher 
Visual Basic (Usage)Copy Code
Dim instance As Publisher
C# 
[SerializableAttribute()]
public class Publisher 

Remarks

Publisher may be used to create an ArcXML (.axl) configuration file from the current MapView.

The resulting ArcXML file may not be suitable for creating a new map service. The ArcXML file must contain workspace information for all layers in the map, and renderers for each feature layer must be added. These conditions will be true for dynamically-added layers in the map, but not for static layers in an existing map service. Static layers may have renderer information, but do not have the dataset and workspace information required (for example, with FeatureDataset and SdeWorkspace). To create a file suitable for service creation, it would be simplest to begin with a blank map service, or remove all layers from the service programmatically, and then add layers dynamically to the map before using Publisher to write out the ArcXML file.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.IMS.Administration.Publisher

See Also

© 2010 All Rights Reserved.