ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

ConvertToMSD

  • Summary
  • Discussion
  • Syntax

Summary

Legacy:

Starting at ArcGIS 10.1 for Server, Map Server Definition (.msd) files have been replaced with Service Definition Draft (.sddraft) and Service Definition (.sd) files. Please use the CreateMapSDDraft function instead.

Converts a map to a map service definition (.msd) file.

Discussion

Starting at ArcGIS 10.1 for Server, Map Server Definition (.msd) files have been replaced with Service Definition Draft (.sddraft) and Service Definition (.sd) files. See the following help topic for more information: What to expect when migrating to ArcGIS for Server.

Consider using the CreateMapSDDraft function instead.

Syntax

ConvertToMSD (map_document, out_msd, {data_frame}, {msd_anti_aliasing}, {msd_text_anti_aliasing})
ParameterExplanationData Type
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.

(The default value is USE_ACTIVE_VIEW)

DataFrame
msd_anti_aliasing

A string that sets antialiasing for nontext items within the saved MSD.

  • NONE — No antialiasing is performed.
  • FASTEST — Minimal antialiasing is performed, optimized for speed.
  • FAST — Some antialiasing is performed, optimized for speed with better quality than FASTEST.
  • NORMAL — A good balance of speed and quality.
  • BEST — The best quality antialiasing. This option takes the longest to render.

(The default value is NONE)

String
msd_text_anti_aliasing

A string that sets antialiasing for text items within the saved MSD.

  • FORCE — Text is always drawn with antialiasing, regardless of the individual font's parameters.
  • NORMAL — Antialiasing is performed as determined by the font. Each individual font has parameters created within it by the font author that defines which sizes the font should draw with antialiasing.
  • NONE — No antialiasing is performed.

(The default value is NONE)

String
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal