Alphabetical list of arcpy.mp classes
The arcpy.mp classes provide access to various methods and properties for the different object types found within an ArcGIS Pro project or layer file. This document is intended to serve as a quick reference. For more specific information, use the links to jump to the individual help pages.
arcpy.mp classes
Properties
clipToElements—Read/Write; Boolean, Default : FalseconvertMarkers—Read/Write; Boolean, Default : FalseembedColorProfile—Read/Write; Boolean, Default : TrueembedFonts—Read/Write; Boolean, Default : TruefilePath—Read/Write; Stringheight—Read/Write; Double, Default : 960imageCompression—Read/Write; String, Default : ADAPTIVEimageCompressionQuality—Read/Write; Long, Default : 80imageQuality—Read/Write; String, Default : BESTremoveLayoutBackground—Read/Write; Boolean, Default : Trueresolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960
Methods
setImageCompression(image_compression)setImageQuality(image_quality)
Properties
activeMap—Read-only;Mapobjectdatabases—Read-only;Listof Python dictionariesdateSaved—Read-only;DatetimedefaultGeodatabase—Read/Write;StringdefaultToolbox—Read/Write;StringdocumentVersion—Read-only;StringfilePath—Read-only;StringfolderConnections—Read-only;Listof Python dictionarieshomeFolder—Read/Write;StringisReadOnly—Read-only;Booleanmetadata—Read/Write;Metadatastyles—Read-only;Listof Python stringstoolboxes—Read-only;Listof Python dictionaries
Methods
closeViews({view_type}, {wildcard})copyItem(project_item, {new_name})createGraphicElement(container, geometry, {style_item}, {name}, {lock_aspect_ratio})createGroupElement(container, element_list, {name})createLayout(page_width, page_height, page_units, {name})createMap({name}, {map_type})createPictureElement(container, geometry, path, {name}, {lock_aspect_ratio})createPreDefinedGraphicElement(container, geometry, shape_type, {style_item}, {name}, {lock_aspect_ratio})createReport(page_info, data_source, {fields}, {statistics}, {name}, {template}, {styling})createTextElement(container, geometry, text_type, text, {text_size}, {font_family_name}, {font_style_name}, {style_item}, {name}, {lock_aspect_ratio})deleteItem(project_item)importDocument(document_path, {include_layout}, {reuse_existing_maps}, {log_files})listBasemaps({wildcard}, {basemap_type})listBrokenDataSources()listColorRamps({wildcard})listLayouts({wildcard})listMaps({wildcard})listReports({wildcard})listStyleItems(style, {style_class}, {wildcard}, {key})save()saveACopy(file_name)updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})updateDatabases(databases, {validate})updateFolderConnections(folder_connections, {validate})updateStyles(styles)updateToolboxes(toolboxes, {validate})
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 24-BIT_TRUE_COLORfilePath—Read/Write; StringgeoreferenceMapFrame—Read/Write; MapFrame object, Default : Noneheight—Read/Write; Double, Default : 960resolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsethreshold—Read/Write; Long, Default : 128width—Read/Write; Double, Default : 960worldFile—Read/Write; Boolean, Default : False
Methods
setColorMode(bmp_color_mode)
Properties
description—Read/Write; StringhasThumbnail—Read-only; Booleanmap—Read-only;Mapobjectname—Read/Write; String
Methods
updateThumbnail()
Properties
Methods
export(export_format, {mapseries_export_options}, {display_options})exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {show_export_count}, {keep_layout_background}, {convert_markers}, {simulate_overprint})getDefinition(cim_version)getPageNumberFromName(page_name)refresh()setDefinition(definition_object)
Properties
heading—Read/Write; Doublemode—Read/Write; Stringpitch—Read/Write; Doubleroll—Read/Write; Doublescale—Read/Write; DoubleX—Read/Write; DoubleY—Read/Write; DoubleZ—Read/Write; Double
Methods
getExtent()setExtent(extent)
Properties
description—Read/Write; Stringlabel—Read/Write; Stringsymbol—Read/Write;SymbolupperBound—Read/Write; Double
Properties
name—Read-only; String
Properties
antialiasing—Read-write; String
Methods
setAntialiasing({antialiasing})
Properties
dataSource—Read-only; Stringname—Read/Write; Stringvisible—Read/Write; Boolean
Properties
name—Read/Write; StringURI——Read-only; StringverticalExaggeration—Read/Write; Double
Methods
listElevationSources({wildcard})
Properties
clipToElements—Read/Write; Boolean, Default : FalseconvertMarkers—Read/Write; Boolean, Default : FalsefilePath—Read/Write; Stringheight—Read/Write; Double, Default : 960imageQuality—Read/Write; String, Default : BESToutputAsImage—Read/Write; Boolean, Default : Falseresolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960
Methods
setImageQuality(image_quality)
Properties
clipToElements—Read/Write; Boolean, Default : FalseconvertMarkers—Read/Write; Boolean, Default : FalseembedFonts—Read/Write; Boolean, Default : TruefilePath—Read/Write; Stringheight—Read/Write; Double, Default : 960imageCompression—Read/Write; String, Default : DEFLATEimageQuality—Read/Write; String, Default : BESToutputAsImage—Read/Write; Boolean, Default : Falseresolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960
Methods
setImageCompression(eps_compression)setImageQuality(image_quality)
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 8-BIT_ADAPTIVE_PALETTEfilePath—Read/Write; StringgeoreferenceMapFrame—Read/Write; MapFrame object, Default : Noneheight—Read/Write; Double, Default : 960resolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsethreshold—Read/Write; Long, Default : 128width—Read/Write; Double, Default : 960worldFile—Read/Write; Boolean, Default : False
Methods
setColorMode(gif_color_mode)
Properties
breakCount—Read/Write; IntegerclassBreaks—Read/Write; List ofClassBreakobjectsclassificationField—Read/Write; StringclassificationMethod—Read/Write; StringcolorRamp—Read/Write;ColorRampdeviationInterval—Read/Write; DoubleintervalSize—Read/Write; DoublelowerBound—Read/Write; DoublenormalizationField—Read/Write; StringnormalizationType—Read/Write; Stringtype—Read-only; String
Properties
backgroundSymbol—Read/Write;SymbolbreakCount—Read/Write; IntegerclassBreaks—Read/Write; List ofClassBreakobjectsclassificationField—Read/Write; StringclassificationMethod—Read/Write; StringcolorRamp—Read/Write;ColorRampdeviationInterval—Read/Write; DoubleintervalSize—Read/Write; DoublelowerBound—Read/Write; DoublemaximumSymbolSize—Read/Write; DoubleminimumSymbolSize—Read/Write; DoublenormalizationField—Read/Write; StringnormalizationType—Read/Write; StringsymbolTemplate—Read-only;Symboltype—Read-only; String
Methods
updateSymbolTemplate(symbol_template)
Properties
anchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; DoubleisGroup—Read-only; Booleanlocked—Read/Write; BooleanlongName—Read/Write; Stringname—Read/Write; StringparentGroupElement—Read-only; GroupElementtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
applyStyleItem(style_item)clone({suffix})delete()getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)
Properties
anchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; Doubleelements—Read-only; List of elementselementWidth—Read/Write; DoubleisGroup—Read-only; Booleanlocked—Read/Write; BooleanlongName—Read/Write; Stringname—Read/Write; StringparentGroupElement—Read-only; GroupElementtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)ungroupElements()
Properties
description—Read/Write; Stringlabel—Read/Write; Stringsymbol—Read/Write;Symbolvalues—Read-only; List of values
Properties
heading—Read/Write; Stringitems—Read/Write; List ofItemorRasterItemobjects
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 24-BIT_TRUE_COLORfilePath—Read/Write; StringgeoreferenceMapFrame—Read/Write; MapFrame object, Default : Noneheight—Read/Write; Double, Default : 960imageCompressionQuality—Read/Write; Double : 80resolution—Read/Write; Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960worldFile—Read/Write; Boolean, Default : False
Methods
setColorMode(jpeg_color_mode)
Properties
expression—Read/Write; Stringname—Read/Write; StringSQLQuery—Read/Write; Stringvisible—Read/Write; Boolean
Methods
getDefinition(cim_version)setDefinition(definition_object)
Properties
brightness—Read/Write; LongconnectionProperties—Read-only; Dictionarycontrast—Read/Write; LongdataSource—Read-only; StringdefinitionQuery—Read/Write; Stringelevation—Read-only;LayerElevationobjectgroupType—Read-only; Stringis3DLayer—Read-only; BooleanisBasemapLayer—Read-only; BooleanisBroken—Read-only; BooleanisFeatureLayer—Read-only; BooleanisGraphicsLayer—Read-only; BooleanisGroupLayer—Read-only; BooleanisNetworkAnalystLayer—Read-only; BooleanisNetworkDatasetLayer—Read-only; BooleanisParcelFabricLayer—Read-only; BooleanisRasterLayer—Read-only; BooleanisSceneLayer—Read-only; BooleanisTimeEnabled—Read-only; BooleanisTopologyLayer—Read-only; BooleanisWebLayer—Read-only; BooleanlongName—Read-only; StringmaxThreshold—Read/Write; Doublemetadata—Read/Write;MetadataminThreshold—Read/Write; Doublename—Read/Write; StringpageQuery—Read-only; named TupleshowLabels—Read/Write; Booleansymbology—Read/Write; Renderer objecttime—Read-only;LayerTimeobjecttransparency—Read/Write; LongURI—Read-only; Booleanvisible—Read/Write; Boolean
Methods
createLabelClass(name, expression, {sql_query}, {labelclass_language})disableTime()enableTime({startTimeField}, {endTimeField}, {autoCalculateTimeRange}, {timeDimension})extrusion({extrusion_type}, {expression})getDefinition(cim_version)getSelectionSet()getSymbologyDefinition(cim_version)listCharts({wildcard})listDefinitionQueries({wildcard})listLabelClasses({wildcard})listLayers({wildcard})listTables({wildcard})openTableView({show_selected})pasteProperties(source_layer, {layer_paste_properties})saveACopy(file_name)setDefinition(definition_object)setGroupType(group_type)setPageQuery({field_name}, {match})setSelectionSet({oidList}, {method})setSymbologyDefinition(definition_object)supports(layer_property)updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})updateDefinitionQueries(definitionQueries)updateLayerFromJSON(json_data)
Properties
cartographicOffset—Read/Write; DoubleelevationMode—Read-only; StringverticalExaggeration—Read/Write; DoubleverticalUnits—Read/Write; String
Methods
setElevationMode()setVerticalUnits(file_name)
Properties
filePath—Read-only; Stringmetadata—Read/Write;Metadataversion—Read-only; String
Methods
addLayer(add_layer_or_layerfile, {add_position})addLayerToGroup(target_group_layer, add_layer_or_layerfile, {add_position})insertLayer(reference_layer, insert_layer_or_layerfile, {insert_position})listBrokenDataSources()listLayers({wildcard})listTables({wildcard})moveLayer(reference_layer, move_layer, {insert_position})removeLayer(remove_layer)save()saveACopy(file_name)updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})
Properties
daylightSavings—Read/Write; BooleanendTime—Read/Write; DateTimeendTimeField—Read/Write; StringstartTime—Read/Write; DateTimestartTimeField—Read/Write; StringtimeDimension—Read/Write; StringtimeFormat—Read/Write; StringtimeOffset—Read/Write; DoubletimeOffsetUnits—Read/Write; StringtimeStepInterval—Read/Write; DoubletimeStepIntervalUnits—Read/Write; StringtimeZone—Read/Write; StringtimeZoneIANA—Read/Write; String
Properties
colorModel—Read-only; StringmapSeries—Read-only;MapSeriesorBookmarkMapSeriesmetadata—Read/Write;Metadataname—Read/Write; StringpageHeight—Read/Write; DoublepageUnits—Read/Write; StringpageWidth—Read/Write; DoubleURI—Read-only; Boolean
Methods
changePageSize(page_width, page_height, {resize_elements})createBookmarkMapSeries(mapframe, {bookmarks})createMapFrame(geometry, {map}, {name})createMapSurroundElement(geometry, {map_surround_type}, {mapframe}, {style_Item}, {name})createSpatialMapSeries(mapframe, index_layer, name_field, {sort_field})createTableFrameElement(geometry, {mapframe}, {table}, {fields}, {style_item}, {name})deleteElement(element)export(export_format, {display_options})exportToAIX(out_aix, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {clip_to_elements}, {keep_layout_background}, {convert_markers})exportToBMP(out_bmp, {resolution}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile}, {clip_to_elements})exportToEMF(out_emf, {resolution}, {image_quality}, {output_as_image}, {clip_to_elements}, {convert_markers})exportToEPS(out_eps, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {clip_to_elements}, {convert_markers})exportToGIF(out_gif, {resolution}, {gif_color_mode}, {clip_to_elements})exportToJPEG(out_jpg, {resolution}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile}, {clip_to_elements})exportToPAGX(out_pagx)exportToPDF(out_pdf, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {keep_layout_background}, {convert_markers}, {simulate_overprint})exportToPNG(out_png, {resolution}, {color_mode}, {transparent_background}, {embed_color_profile}, {clip_to_elements})exportToSVG(out_svg, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {clip_to_elements}, {convert_markers})exportToTGA(out_tga, {resolution}, {color_mode}, {transparent_background}, {clip_to_elements})exportToTIFF(out_tif, {resolution}, {color_mode}, {tiff_compression}, {jpeg_compression_quality}, {transparent_background}, {embed_color_profile}, {clip_to_elements},{world_file}, {geoTIFF_tags}, {georef_mapframe})getDefinition(cim_version)listElements({element_type}, {wildcard})openView()setColorModel(color_model)setDefinition(definition_object)
Properties
anchor—Read-only; StringcolumnCount—Read/Write; LongelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; DoublefittingStrategy—Read/Write; StringisOverflowing—Read-only; Booleanitems—Read-only; List ofLegendItemobjectslocked—Read/Write; BooleanlongName—Read/Write; StringmapFrame—Read/Write;MapFrameobjectname—Read/Write; StringparentGroupElement—Read-only; GroupElementshowTitle—Read/Write; BooleansyncLayerOrder—Read/Write; BooleansyncLayerVisibility—Read/Write; BooleansyncNewLayer—Read/Write; BooleansyncReferenceScale—Read/Write; Booleantitle—Read/Write; Stringtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
addItem(layer, {add_position})applyStyleItem(style_item)getDefinition(cim_version)moveItem(reference_item, move_item, {move_position})removeItem(remove_item)setAnchor(anchor)setDefinition(definition_object)
Properties
arrangement—Read/Write; Stringcolumn—Read/Write; Longname—Read-only; StringpatchHeight—Read/Write; DoublepatchWidth—Read/Write; DoubleshowFeatureCount—Read/Write; BooleanshowVisibleFeatures—Read/Write; Booleantype—Read-only; Stringvisible—Read/Write; Boolean
Methods
applyStyleItem(style_item)
Properties
colorModel—Read-only; StringdefaultCamera—Read/Write;CameraobjectdefaultView—Read-Only;MapViewobjectexcludedLayersFromClipping—Read/Write; ListmapType—Read-only; StringmapUnits—Read/Write; Stringmetadata—Read/Write;Metadataname—Read/Write; StringreferenceScale—Read/Write; DoublespatialReference—Read/Write;SpatialReferenceobjecttransformations—Read-Only; DictionaryURI—Read-only; Boolean
Methods
addBasemap(basemap_name, {basemap_type})addDataFromPath(data_path, {web_service_type}, {custom_parameters})addLayer(add_layer_or_layerfile, {add_position})addLayerToGroup(target_group_layer, add_layer_or_layerfile, {add_position})addTable(add_table)addTableToGroup(target_group_layer, add_table)clearSelection()clipLayers(clip_object, {selection})copyBookmark(bookmark, {name})createGraphicsLayer({name})createGroupLayer(name, {group_layer})exportBookmarks(out_bkmx)exportToMAPX(out_mapx)getDefinition(cim_version)getWebLayerSharingDraft(server_type, service_type, service_name, {layers_and_tables})importBookmarks(bkmx_path)insertLayer(reference_layer, insert_layer_or_layerfile, {insert_position})listBookmarks({wildcard})listBrokenDataSources()listElevationSources({wildcard})listLayers({wildcard})listTables({wildcard})moveLayer(reference_layer, move_layer, {insert_position})openView()removeBookmark(remove_bookmark)removeLayer(remove_layer)removeTable(remove_table)setColorModel(color_model)setDefinition(definition_object)updateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})updateTransformations(transformations)
Properties
altText—Read/Write; Stringanchor—Read-only; Stringcamera—Read/Write;cameraobjectelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; Doublelocked—Read/Write; BooleanlongName—Read/Write; Stringmap—Read/Write;Mapobjectname—Read/Write; StringparentGroupElement—Read-only; GroupElementtime—Read-only; MapTime objecttype—Read-only; Stringvisible—Read/Write; Boolean
Methods
addGrid(style_item)convertGridToFeatures(grid_name, output_geodatabase, {new_grid_name})createBookmark({name}, {description})export(export_format, {display_options})exportToAIX(out_aix, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {convert_markers})exportToBMP(out_bmp, {resolution}, {world_file}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile})exportToEMF(out_emf, {resolution}, {image_quality}, {output_as_image}, {convert_markers})exportToEPS(out_eps, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})exportToGIF(out_gif, {resolution}, {world_file}, {gif_color_mode})exportToJPEG(out_jpg, {resolution}, {world_file}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile})exportToPDF(out_pdf, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {output_as_image}, {embed_color_profile}, {convert_markers}, {simulate_overprint})exportToPNG(out_png, {resolution}, {world_file}, {color_mode}, {embed_color_profile})exportToSVG(out_svg, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})exportToTGA(out_tga, {resolution}, {world_file}, {color_mode})exportToTIFF(out_tif, {resolution}, {world_file}, {color_mode}, {tiff_compression}, {geoTIFF_tags}, {jpeg_compression_quality}, {embed_color_profile})getDefinition(cim_version)getLayerExtent(layer, {selection_only}, {symbolized_extent})panToExtent(extent)removeGrids({wildcard})setAnchor(anchor)setDefinition(definition_object)zoomToAllLayers({selection_only}, {symbolized_extent})zoomToBookmark(bookmark)
Properties
clipToIndexFeature—Read/Write; BooleancurrentPageName—Read/Write; StringcurrentPageNumber—Read/Write; Longenabled—Read/Write; BooleanindexLayer—Read-only;LayerobjectmapFrame—Read-only;MapFrameobjectpageCount—Read-only; LongpageNameField—Read-only; GPFieldobjectpageRow—Read-only; Named TupleselectedIndexFeatures—Read-only; Python list of corresponding page numberstype—Read-only; String
Methods
export(export_format, {mapseries_export_options}, {display_options})exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {clip_to_elements}, {show_selection_symbology}, {output_as_image}, {embed_color_profile}, {pdf_accessibility}, {show_export_count}, {convert_markers})getDefinition(cim_version)getPageNumberFromName(page_name)refresh()setDefinition(definition_object)
Properties
customPages—Read/Write; StringexportFileOptions—Read/Write; StringexportPages—Read/Write; StringshowExportCount—Read/Write; Boolean
Methods
setExportFileOptions(export_file_options)setExportPages(export_pages)
Properties
anchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; Doublelocked—Read/Write; BooleanlongName—Read/Write; StringmapFrame—Read/Write;MapFrameobjectname—Read/Write; StringparentGroupElement—Read-only; GroupElementtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
applyStyleItem(style_item)getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)
Properties
currentTimeEnd—Read/Write; DateTimecurrentTimeSpan—Read-only; DoublecurrentTimeSpanUnits—Read-only; StringcurrentTimeStart—Read/Write; DateTimeisTimeEnabled—Read/Write; BooleantimeInclusion—Read-only; StringtimeStepInterval—Read-only; DoubletimeStepIntervalUnits—Read-only; String
Methods
setTimeInclusion(time_inclusion)timeStep(reference_time, interval, interval_units)
Properties
Methods
createBookmark({name}, {description})export(export_format, {display_options})exportToAIX(out_aix, width, height, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {jpeg_compression_quality}, {embed_fonts}, {embed_color_profile}, {convert_markers})exportToBMP(out_bmp, width, height, {resolution}, {world_file}, {bmp_color_mode}, {bmp_image_compression}, {embed_color_profile})exportToEMF(out_emf, width, height, {resolution}, {image_quality}, {output_as_image}, {convert_markers})exportToEPS(out_eps, width, height, {resolution}, {image_compression}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})exportToGIF(out_gif, width, height, {resolution}, {world_file}, {gif_color_mode})exportToJPEG(out_jpg, width, height, {resolution}, {world_file}, {jpeg_color_mode}, {jpeg_quality}, {embed_color_profile})exportToPDF(out_pdf, width, height, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality}, {output_as_image}, {embed_color_profile}, {convert_markers})exportToPNG(out_png, width, height, {resolution}, {world_file}, {color_mode}, {embed_color_profile})exportToSVG(out_svg, width, height, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {convert_markers})exportToTGA(out_tga, width, height, {resolution}, {world_file}, {color_mode})exportToTIFF(out_tif, width, height, {resolution}, {world_file}, {color_mode}, {tiff_compression}, {geoTIFF_tags}, {jpeg_compression_quality}, {embed_color_profile})getLayerExtent(layer, {selection_only}, {symbolized_extent})panToExtent(extent)zoomToAllLayers({selection_only}, {symbolized_extent})zoomToBookmark(bookmark)
Properties
pageCount—Read-only; Long
Methods
appendPages(pdf_path, {input_pdf_password})attachFile(file_path, {description})deletePages(page_range)insertPages(pdf_path, {before_page_number}, {input_pdf_password})saveAndClose()updateDocProperties({pdf_title}, {pdf_author}, {pdf_subject}, {pdf_keywords}, {pdf_open_view}, {pdf_layout}, {pdf_language_code})updateDocSecurity(new_master_password, {new_user_password}, {encryption}, {permissions})
Properties
author—Read/Write; StringclipToElements—Read/Write; Boolean, Default : FalsecompressVectorGraphics—Read/Write; Boolean, Default : TrueconvertMarkers—Read/Write; Boolean, Default : FalseembedColorProfile—Read/Write; Boolean, Default : TrueembedFonts—Read/Write; Boolean, Default : TruefilePath—Read/Write; StringgeorefInfo—Read/Write; Boolean, Default : Trueheight—Read/Write; Double, Default : 960imageCompression—Read/Write; String, Default : ADAPTIVEimageCompressionQuality—Read/Write; Long, Default : 80imageQuality—Read/Write; String, Default : BESTincludeAccessibilityTags—Read/Write; Boolean, Default : FalseincludeNonVisibleMapLayers—Read/Write; Boolean, Default : Falsekeywords—Read/Write; StringlanguageCode—Read/Write; StringlayersAndAttributes—Read/Write; String, Default : LAYERS_ONLYoutputAsImage—Read/Write; Boolean, Default : FalserasterAsSingleTile—Read/Write; Boolean, Default : FalseremoveLayoutBackground—Read/Write; Boolean, Default : Falseresolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : FalsesimulateOverprint—Read/Write; Boolean, Default : Falsesubject—Read/Write; Stringtitle—Read/Write; Stringwidth—Read/Write; Double, Default : 960
Methods
setImageCompression(image_compression)setImageQuality(image_quality)setLayersAndAttributes(layers_attributes)
Properties
altText—Read/Write; Stringanchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; Doublelocked—Read/Write; BooleanlongName—Read/Write; Stringname—Read/Write; StringparentGroupElement—Read-only; GroupElementsourceImage—Read/Write; Stringtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 32-BIT_WITH_ALPHAfilePath—Read/Write; StringgeoreferenceMapFrame—Read/Write; MapFrame object, Default : Noneheight—Read/Write; Double, Default : 960resolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsethreshold—Read/Write; Long, Default : 128transparentBackground—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960worldFile—Read/Write; Boolean, Default : False
Methods
setColorMode(png_color_mode)
Properties
color—Read/Write; Dictionarydescription—Read/Write; Stringlabel—Read/Write; StringupperBound—Read/Write; Double
Properties
breakCount—Read/Write; LongclassBreaks—Read/Write; List of RasterClassBreak objectsclassificationField—Read/Write; StringclassificationMethod—Read/Write; StringcolorRamp—Read/Write;ColorRamplowerBound—Read/Write; DoublenoDataColor—Read/Write; Dictionarytype—Read-only; String
Properties
color—Read/Write; Dictionarydescription—Read/Write; Stringlabel—Read/Write; Stringvalues—Read-only; List
Properties
band—Read/Write; LongcolorRamp—Read/Write;ColorRampgamma—Read/Write; DoubleinvertColorRamp—Read/Write; BooleanmaxLabel—Read/Write; StringmaxPercent—Read/Write; DoubleminLabel—Read/Write; StringminPercent—Read/Write; DoublestandardDeviation—Read/Write; DoublestretchType—Read/Write; Stringtype—Read-only; String
Properties
Properties
definitionQuery—Read/Write; Stringmetadata—Read/Write;Metadataname—Read/Write; StringreferenceDataSource—Read-only; Dictionary
Methods
export(export_format, {report_export_options}, {display_options})exportToPDF(out_pdf, {page_range_type}, {page_range}, {starting_page_number}, {total_page_number}, {resolution}, {image_quality}, {compress_vector_graphics}, {image_compression},{embed_fonts}, {jpeg_compression_quality}, {embed_color_profile}, {pdf_accessibility}, {convert_markers}, {simulate_overprint})getDefinition(cim_version)listSections({wildcard})openView()setDefinition(definition_object)setReferenceDataSource(data_source)
Properties
customPages—Read/Write; StringexportPages—Read/Write; StringstartingPageNumberLabelOffset—Read/Write; IntegertotalPageNumberOverride—Read/Write; Integer
Methods
setExportPages(report_export_pages)
Properties
name—Read/Write; Stringtype—Read-only; Stringvisible—Read/Write; BooleanURI—Read/Write; String
Properties
definitionQuery—Read/Write; Stringfields—Read/Write; Listname—Read-only; StringreferenceDataSource—Read-only; Dictionarystatistics—Read/Write; Listtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
setReferenceDataSource(data_source)setRelatedReportSource (related_report_data_source, related_report_section_name, relate_or_relationship_class_name)
Properties
description—Read/Write; Stringlabel—Read/Write; Stringsymbol—Read/Write;Symboltype—Read-only; String
Properties
category—Read-only; Stringkey—Read-only; Stringname—Read-only; Stringstyle—Read-only; StringstyleClass—Read-only; Stringtags—Read-only; String
Properties
clipToElements—Read/Write; Boolean, Default : FalsecompressToSVGZ—Read/Write; Boolean, Default : FalseconvertMarkers—Read/Write; Boolean, Default : FalseembedFonts—Read/Write; Boolean, Default : TruefilePath—Read/Write; Stringheight—Read/Write; Double, Default : 960imageQuality—Read/Write; String, Default : BESTincludeNonVisibleMapLayers—Read/Write; Boolean, Default : FalseoutputAsImage—Read/Write; Boolean, Default : FalserasterAsSingleTile—Read/Write; Boolean, Default : Falseresolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960
Methods
setImageQuality(image_quality)
Properties
angle—Read/Write; Doublecolor—Read/Write; Dictionaryname—Read-only; StringoutlineColor—Read/Write; DictionaryoutlineWidth—Read/Write; Doublesize—Read/Write; DoubleuseRealWorldUnits—Read/Write; Boolean
Methods
applySymbolFromGallery(wildcard, {index})listSymbolsFromGallery({wildcard})
Properties
colorizer—Read-only;RasterClassifyColorizer,RasterUniqueValueColorizerrenderer—Read-only;GraduatedColorsRenderer,GraduatedSymbolsRenderer,SimpleRenderer, orUniqueValueRenderer
Methods
updateColorizer(colorizer_name)updateRenderer(renderer_name)
Properties
connectionProperties—Read-only; DictionarydataSource—Read-only; StringdefinitionQuery—Read/Write; StringisBroken—Read-only; BooleanisTimeEnabled—Read-only; BooleanlongName—Read-only; Stringmetadata—Read/Write;Metadataname—Read/Write; Stringtime—Read-only;LayerTimeURI—Read-only; Boolean
Methods:
disableTime()enableTime({startTimeField}, {endTimeField}, {autoCalculateTimeRange}, {timeDimension})getDefinition(cim_version)getSelectionSet()listCharts({wildcard})listDefinitionQueries({wildcard})openTableView({show_selected})pasteProperties(source_table, {table_paste_properties})saveACopy(file_name)setDefinition(definition_object)setSelectionSet({oidList}, {method})time—Read-only;LayerTimeobjectupdateConnectionProperties(current_connection_info, new_connection_info, {auto_update_joins_and_relates}, {validate}, {ignore_case})updateDefinitionQueries(definitionQueries)
Properties
anchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementWidth—Read/Write; Doublefields—Read/Write; List of field namesisOverflowing—Read-only; Booleanlocked—Read/Write; BooleanlongName—Read/Write; StringmapFrame—Read/Write;MapFrameobjectname—Read/Write; StringparentGroupElement—Read-only; GroupElementquery—Read-only; Stringtype—Read-only; Stringvisible—Read/Write; Boolean
Methods
applyStyleItem(style_item)getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)setQuery(query_rows)sortFields(field_info)
Properties
anchor—Read-only; StringelementHeight—Read/Write; DoubleelementPositionX—Read/Write; DoubleelementPositionY—Read/Write; DoubleelementRotation—Read/Write; DoubleelementWidth—Read/Write; DoublefontFamilyName—Read/Write; StringfontStyleName—Read/Write; StringisOverflowing—Read-only; Booleanlocked—Read/Write; BooleanlongName—Read/Write; Stringname—Read/Write; StringparentGroupElement—Read-only; GroupElementtext—Read/Write; StringtextAngle—Read/Write; DoubletextSize—Read/Write; Doubletype—Read-only; Stringvisible—Read/Write; Boolean
Methods
applyStyleItem(style_item)clone({suffix})delete()getDefinition(cim_version)setAnchor(anchor)setDefinition(definition_object)
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 32-BIT_WITH_ALPHAfilePath—Read/Write; Stringheight—Read/Write; Double, Default : 960resolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : FalsetransparentBackground—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960
Methods
setColorMode(tga_color_mode)
Properties
clipToElements—Read/Write; Boolean, Default : FalsecolorMode—Read/Write; String, Default : 32-BIT_WITH_ALPHAembedColorProfile—Read/Write; Boolean, Default : TruefilePath—Read/Write; StringgeoreferenceMapFrame—Read/Write; MapFrame object, Default : NonegeoTIFFTags—Read/Write; Boolean, Default : Falseheight—Read/Write; Double, Default : 960imageCompression—Read/Write; String, Default : LZWimageCompressionQuality—Read/Write; Long, Default : 100resolution—Read/Write; Boolean, Double : 96showSelectionSymbology—Read/Write; Boolean, Default : Falsethreshold—Read/Write; Long, Default : 128transparentBackground—Read/Write; Boolean, Default : Falsewidth—Read/Write; Double, Default : 960worldFile—Read/Write; Boolean, Default : False
Methods
setColorMode(color_mode)setImageCompression(tiff_compression)
Properties
Methods
updateSymbolTemplate(symbol_template)
Properties
Methods
addValues(values_or_items)listMissingValues()removeValues(values_or_items)