ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Help

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

Export Map Document

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

Exports a map document to either PDF, Production PDF, or a map package.

Utilisation

  • When using MAP_PACKAGE as the export type, all the layers in the TOC must be sourced, and the map document properties must be filled out. For more requirements to export as a map package, see Package Map.

  • The PDF Setting File parameter is only used for exporting to Production PDF. The setting files installed can be found at <Installion Location>\ArcGIS\Desktop10.3.1\Styles.

Syntaxe

ExportMapDocument_defense (Input_Map_Document, Export_Type, {PDF_Setting_File})
ParamètreExplicationType de données
Input_Map_Document

The path to the map document.

Remarque :

This needs to be an .mxd file and not a map document object.

ArcMap Document
Export_Type

Defines the type of export.

  • PDF —Exports into a standard PDF file.
  • PRODUCTION_PDF —Exports using a settings file that determines accurate color mappings for the PDF file.
  • MAP_PACKAGE —Exports a .zip file of the data and the MXD.
String
PDF_Setting_File
(Facultatif)

A PDF settings file. The XML files are installed in <Installation path>ArcGIS\\Desktop10.3.1\Styles.

File

Exemple de code

Export Map Document example (Python window)

The following code sample demonstrates how to execute ExportMapDocument.

from arcpy import defense,CheckOutExtension,CheckInExtension

# Checking out Defense Mapping extension
CheckOutExtension('defense')

# Setting variables used in the tool
mapDocument=r'C:\Testing\V795X16573.mxd'
exportType="PRODUCTION_PDF"
pdfSettingsXML=r'C:\Program Files (x86)\ArcGIS\Desktop10.3\Styles\MGCP_Production_PDF.xml'

# Calling Export Map Document tool
defense.ExportMapDocument(mapDocument,exportType,pdfSettingsXML)

# Checking in Defense Mapping extension
CheckInExtension('defense')

Environnements

  • Espace de travail courant
  • Espace de travail temporaire
  • Etendue

Informations de licence

  • ArcGIS Desktop Basic: Non
  • ArcGIS Desktop Standard: Requiert Defense Mapping
  • ArcGIS Desktop Advanced: Requiert Defense Mapping

Rubriques connexes

  • An overview of the Utilities toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2017 Esri. | Confidentialité | Légal