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




Publisher is used for writing ArcXML Map Configuration files.

Object Model

Publisher Class

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.

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.