摘要
将地图转换为地图服务定义 (.msd) 文件。
说明
从 ArcGIS 10.1 for Server 开始,地图服务器定义 (.msd) 文件已被替换为服务定义草稿 (.sddraft) 文件和服务定义 (.sd) 文件。有关详细信息,请参阅以下帮助主题:迁移至 ArcGIS for Server 时可能出现的情况。
请考虑改用 CreateMapSDDraft 函数。
语法
ConvertToMSD (map_document, out_msd, {data_frame}, {msd_anti_aliasing}, {msd_text_anti_aliasing})
参数 | 说明 | 数据类型 |
map_document | A variable that references a MapDocument object. | MapDocument |
out_msd | A string that represents the path and file name for the output MSD file. | String |
data_frame | A variable that references a DataFrame object. If more than one data frame exists, it is important to specify which data frame will be the active data frame for the published service. The default value is the active data frame. (默认值为 USE_ACTIVE_VIEW) | DataFrame |
msd_anti_aliasing | A string that sets antialiasing for nontext items within the saved MSD.
(默认值为 NONE) | String |
msd_text_anti_aliasing | A string that sets antialiasing for text items within the saved MSD.
(默认值为 NONE) | String |