ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS for Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Export Map Document

  • サマリー
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

サマリー

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

使用法

  • 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.4\Styles.

構文

ExportMapDocument(Input_Map_Document, Export_Type, {PDF_Setting_File})
パラメーター説明データ タイプ
Input_Map_Document

The path to the map document.

注意:

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
(オプション)

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

File

コードのサンプル

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')

環境

  • 現在のワークスペース
  • テンポラリ ワークスペース
  • 範囲

ライセンス情報

  • ArcGIS Desktop Basic: いいえ
  • ArcGIS Desktop Standard: 次のものが必要 Defense Mapping
  • ArcGIS Desktop Advanced: 次のものが必要 Defense Mapping

関連トピック

  • An overview of the Utilities toolset

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS プラットフォーム

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

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2019 Esri. | プライバシー | リーガル