Alphabetical list of arcpy.mapping constants (arcpy.mapping)

Below is a list of arcpy.mapping parameter constants. Many of these parameters are used with multiple arcpy.mapping functions and/or methods. Most of these parameters are optional—those surrounded by curly brackets ({})—and when appropriate, the default values are indicated next to the value. This document is intended to serve as a quick reference. For more specific information on what the parameter values mean, refer to the function or method documentation by using the links provided next to the parameter name.

arcpy.mapping constants

{add_position}—Used by AddLayer and AddLayerToGroup.

{colorspace}—Used by DataDrivenPages.exportToPDF, ExportToAI, ExportToEPS, and ExportToPDF.

{color_mode}—Used by ExportToBMP, ExportToGIF, ExportToJPEG, ExportToPNG, and ExportToTIFF.

connection_type—Used by CreateGISServerConnectionFile.

{dataset_option}—Used by ExportReport.

displayUnits—A property of the DataFrame object.

{element_type}—Used by ListLayoutElements.

{encryption}—Used by PDFDocument.updateDocSecurity.

{gif_compression}—Used by ExportToGIF.

{image_compression}—Used by DataDrivenPages.exportToPDF, ExportToEPS, and ExportToPDF.

{image_quality}—Used by DataDrivenPages.exportToPDF, ExportToAI, ExportToEMF, ExportToEPS, ExportToPDF, ExportToSVG, and PrintMap.

{insert_position}—Used by InsertLayer and MoveLayer.

{layers_attributes}—Used by DataDrivenPages.exportToPDF and ExportToPDF.

{layer_property}—Used by Layer.supports.

{msd_anti_aliasing}—Used by ConvertToMSD.

{msd_text_anti_aliasing}—Used by ConvertToMSD.

{multiple_files}—Used by PDFDocument.exportToPDF.

{page_range_type}—Used by DataDrivenPages.exportToPDF and DataDrivenPages.printPages.

{pdf_layout}—Used by PDFDocument.updateDocProperties.

{pdf_open_view}—Used by PDFDocument.updateDocProperties.

{permissions}—Used by PDFDocument.updateDocSecurity.

{picture_symbol}—Used by DataDrivenPages.exportToPDF, ExportToAI, ExportToEMF, ExportToEPS, ExportToPDF, and ExportToSVG.

{ps_lang_level}—Used by ExportToEPS.

{record_set}—Used by ExportReport.

{rle_compression}—Used by ExportToBMP.

{save_username_password}—Used by CreateGISServerConnectionFile.

{service_capabilities}—Used by PublishMSDToServer.

{server_type}—Used by CreateGISServerConnectionFile.

{server_type}—Used by CreateMapSDDraft.

symbologyType—A property of the Layer object.

{tiff_compression}—Used by ExportToTIFF.

timeWindowUnits—A property of DataFrameTime.

{version}—Used by Layer.saveACopy and MapDocument.saveACopy.

{workspace_type}—Used by Layer.replaceDataSource, MapDocument.replaceWorkspacePaths, and TableView.replaceDataSource.

9/14/2013