按字母顺序排序的 arcpy.mapping 类列表
2013-11-17 19:13
344 查看
arcpy.mapping 类可使用地图文档 (.mxd) 或图层文件 (.lyr) 中的不同对象类型的各种方法和属性。此文档可专门用作快速参考。有关详细信息,请使用链接跳转至各帮助页面。
方法
exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {colorspace}, {compress_vectors}, {image_compression}, {picture_symbol}, {convert_markers}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality})
getPageIDFromName(page_name)
printPages({printer_name}, {page_range_type}, {page_range_string}, {out_print_file})
refresh()
属性
currentPageID - 读/写;长整型
pageCount - 只读;长整型
pageRow - 只读; GP 行对象
DataFrame
方法
panToExtent(extent)
zoomToSelectedFeatures()
属性
credits - 读/写;字符串型
description - 读/写;字符串型
displayUnits - 读/写;字符串型
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
extent - 读/写; GP Extent 对象
geographicTransformations - 读/写;字符串的 Python 列表
mapUnits - 只读;字符串型
name - 读/写;字符串型
referenceScale - 读/写;双精度型
rotation - 读/写;双精度型
scale - 读/写;双精度型
spatialReference - 读/写; GP 空间参考对象
time - 只读;DataFrameTime 对象
type - 只读;字符串型
DataFrameTime
方法
resetTimeExtent()
属性
currentTime - 读/写;Python datetime 对象
endTime - 读/写;Python datetime 对象
startTime - 读/写;Python datetime 对象
timeStepInterval - 只读;Python timedelta 对象
timeWindow - 读/写;双精度型
timeWindowUnits - 读/写;字符串型
GraphicElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
type - 只读;字符串型
LabelClass
属性
className - 读/写;字符串型
expression - 读/写;字符串型
showClassLabels - 读/写;布尔型
SQLQuery - 读/写;字符串型
Layer
方法
findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
getExtent({symbolized_extent})
getSelectedExtent({symbolized_extent})
replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
save()
saveACopy(file_name, {version})
supports(layer_property)
属性
brightness - 读/写;长整型
contrast - 读/写;长整型
credits - 读/写;字符串型
datasetName - 只读;字符串型
dataSource - 只读;字符串型
definitionQuery - 读/写;字符串型
description - 读/写;字符串型
isFeatureLayer - 只读;布尔型
isGroupLayer - 只读;布尔型
isRasterizingLayer - 只读;布尔型
isRasterLayer - 只读;布尔型
labelClasses - 读/写;LabelClass 对象列表
longName - 只读;字符串型
name - 读/写;字符串型
serviceProperties - 只读;属性集字典
showLabels - 读/写;布尔型
transparency - 读/写;长整型
visible - 读/写;布尔型
workspacePath - 只读;字符串型
LegendElement
方法
adjustColumnCount(column_count)
属性
autoAdd - 读/写;布尔型
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
items - 只读;Python 字符串列表
name - 读/写;字符串型
parentDataFrameName - 只读;字符串型
title - 读/写;字符串型
type - 只读;字符串型
MapDocument
方法
deleteThumbnail()
findAndReplaceWorkspacePaths(find_workspace_path, replace_workspace_path, {validate})
makeThumbnail()
replaceWorkspaces(old_workspace_path, old_workspace_type, new_workspace_path, new_workspace_type, {validate})
save()
saveACopy(file_name, {version})
属性
activeView - 读/写;字符串型
author - 读/写;字符串型
credits - 只读;字符串型
dataDrivenPages - 只读;DataDrivenPages 对象
dateExported - 只读;Python datetime 对象
datePrinted - 只读;Python datetime 对象
dateSaved - 只读;Python datetime 对象
description - 读/写;字符串型
filePath - 只读;字符串型
hyperlinkBase - 读/写;字符串型
relativePaths - 只读;布尔型
summary - 读/写;字符串型
tags - 读/写;字符串型
title - 读/写;字符串型
MapsurroundElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
parentDataFrameName - 只读;字符串型
type - 只读;字符串型
PDFDocument
方法
appendPages(pdf_path, {input_pdf_password})
attachFile(file_path, {description})
insertPages(pdf_path, {before_page_number}, {input_pdf_password})
saveAndClose()
updateDocProperties({pdf_title}, {pdf_author}, {pdf_subject}, {pdf_keywords}, {pdf_open_view}, {pdf_layout})
updateDocSecurity({new_master_password}, {new_user_password}, {encryption}, {permissions})
属性:
pageCount - 只读;长整型
PictureElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
sourceImage - 读/写;字符串型
type - 只读;字符串型
TableView
方法
findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
属性
datasetName - 只读;字符串型
dataSource - 只读;字符串型
definitionQuery - 读/写;字符串型
name - 读/写;字符串型
workspacePath - 只读;字符串型
TextElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
text - 读/写;字符串型
type - 只读;字符串型
arcpy.mapping 类
DataDrivenPages方法
exportToPDF(out_pdf, {page_range_type}, {page_range_string}, {multiple_files}, {resolution}, {image_quality}, {colorspace}, {compress_vectors}, {image_compression}, {picture_symbol}, {convert_markers}, {embed_fonts}, {layers_attributes}, {georef_info}, {jpeg_compression_quality})
getPageIDFromName(page_name)
printPages({printer_name}, {page_range_type}, {page_range_string}, {out_print_file})
refresh()
属性
currentPageID - 读/写;长整型
pageCount - 只读;长整型
pageRow - 只读; GP 行对象
DataFrame
方法
panToExtent(extent)
zoomToSelectedFeatures()
属性
credits - 读/写;字符串型
description - 读/写;字符串型
displayUnits - 读/写;字符串型
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
extent - 读/写; GP Extent 对象
geographicTransformations - 读/写;字符串的 Python 列表
mapUnits - 只读;字符串型
name - 读/写;字符串型
referenceScale - 读/写;双精度型
rotation - 读/写;双精度型
scale - 读/写;双精度型
spatialReference - 读/写; GP 空间参考对象
time - 只读;DataFrameTime 对象
type - 只读;字符串型
DataFrameTime
方法
resetTimeExtent()
属性
currentTime - 读/写;Python datetime 对象
endTime - 读/写;Python datetime 对象
startTime - 读/写;Python datetime 对象
timeStepInterval - 只读;Python timedelta 对象
timeWindow - 读/写;双精度型
timeWindowUnits - 读/写;字符串型
GraphicElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
type - 只读;字符串型
LabelClass
属性
className - 读/写;字符串型
expression - 读/写;字符串型
showClassLabels - 读/写;布尔型
SQLQuery - 读/写;字符串型
Layer
方法
findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
getExtent({symbolized_extent})
getSelectedExtent({symbolized_extent})
replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
save()
saveACopy(file_name, {version})
supports(layer_property)
属性
brightness - 读/写;长整型
contrast - 读/写;长整型
credits - 读/写;字符串型
datasetName - 只读;字符串型
dataSource - 只读;字符串型
definitionQuery - 读/写;字符串型
description - 读/写;字符串型
isFeatureLayer - 只读;布尔型
isGroupLayer - 只读;布尔型
isRasterizingLayer - 只读;布尔型
isRasterLayer - 只读;布尔型
labelClasses - 读/写;LabelClass 对象列表
longName - 只读;字符串型
name - 读/写;字符串型
serviceProperties - 只读;属性集字典
showLabels - 读/写;布尔型
transparency - 读/写;长整型
visible - 读/写;布尔型
workspacePath - 只读;字符串型
LegendElement
方法
adjustColumnCount(column_count)
属性
autoAdd - 读/写;布尔型
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
items - 只读;Python 字符串列表
name - 读/写;字符串型
parentDataFrameName - 只读;字符串型
title - 读/写;字符串型
type - 只读;字符串型
MapDocument
方法
deleteThumbnail()
findAndReplaceWorkspacePaths(find_workspace_path, replace_workspace_path, {validate})
makeThumbnail()
replaceWorkspaces(old_workspace_path, old_workspace_type, new_workspace_path, new_workspace_type, {validate})
save()
saveACopy(file_name, {version})
属性
activeView - 读/写;字符串型
author - 读/写;字符串型
credits - 只读;字符串型
dataDrivenPages - 只读;DataDrivenPages 对象
dateExported - 只读;Python datetime 对象
datePrinted - 只读;Python datetime 对象
dateSaved - 只读;Python datetime 对象
description - 读/写;字符串型
filePath - 只读;字符串型
hyperlinkBase - 读/写;字符串型
relativePaths - 只读;布尔型
summary - 读/写;字符串型
tags - 读/写;字符串型
title - 读/写;字符串型
MapsurroundElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
parentDataFrameName - 只读;字符串型
type - 只读;字符串型
PDFDocument
方法
appendPages(pdf_path, {input_pdf_password})
attachFile(file_path, {description})
insertPages(pdf_path, {before_page_number}, {input_pdf_password})
saveAndClose()
updateDocProperties({pdf_title}, {pdf_author}, {pdf_subject}, {pdf_keywords}, {pdf_open_view}, {pdf_layout})
updateDocSecurity({new_master_password}, {new_user_password}, {encryption}, {permissions})
属性:
pageCount - 只读;长整型
PictureElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
sourceImage - 读/写;字符串型
type - 只读;字符串型
TableView
方法
findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate})
replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})
属性
datasetName - 只读;字符串型
dataSource - 只读;字符串型
definitionQuery - 读/写;字符串型
name - 读/写;字符串型
workspacePath - 只读;字符串型
TextElement
属性
elementHeight - 读/写;双精度型
elementPositionX - 读/写;双精度型
elementPositionY - 读/写;双精度型
elementWidth - 读/写;字符串型
name - 读/写;字符串型
text - 读/写;字符串型
type - 只读;字符串型
相关文章推荐
- jquery模拟字母顺序排序定位城市列表方法(bug改进)
- ArcPy 函数列表(按字母顺序)
- 联系人列表字母排序索引(二)
- 已知字母序列【d, g, e, c, f, b, o, a】,请实现一个函数针对输入的一组字符串 input[] = {"bed", "dog", "dear", "eye"},按照字母顺序排序并打印
- 自定义listView,仿微信好友列表,右侧带字母排序。
- 如何利用外部列表元素顺序对源列表进行排序
- java-实现汉字按字母顺序排序
- JS把字符串按照特定的字母顺序进行排序
- 给出一个2D板和字典中的单词列表,找到棋盘上的所有单词。每个单词必须由顺序相邻单元格的字母构成。不能重复使用
- 使用Word对段落按照字母顺序进行排序
- sort排序(以ASCII码顺序输出列表)
- 城市列表-根据拼音首字母排序
- 数组对象按字母顺序或数字大小排序
- Android例子源码非第三方实现根据字母排序的城市列表
- 如何把列表转内容转至拼音首字母归档排序
- 城市列表-根据拼音首字母排序
- 联系人列表字母排序索引(一)
- 将小于正整数N的数按字母顺序排序问题
- VSTO for Microsoft Outlook Recipient Sort(收件人按字母顺序排序)
- 按字母顺序排序输出