ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

DisableDataFrameClipping

获得 Production Mapping 许可后可用。

  • 描述
  • 讨论
  • 语法
  • 代码示例

描述

Removes any existing clipping setting on the data frame.

讨论

This function performs the same operation as opening the Data Frame Properties dialog box in ArcMap and changing the Clip Options setting to No Clipping.

语法

DisableDataFrameClipping (data_frame)
参数说明数据类型
data_frame

The DataFrame object for which to disable clipping.

DataFrame

代码示例

DisableDataFrameClipping example 1

This example changes the clipping option to No Clipping for the specified data frame.

import arcpy
import arcpyproduction

# Check out Production Mapping license
arcpy.CheckOutExtension("Foundation")

# Define the data frame object and the grid extent as the geometry
mxd = arcpy.mapping.MapDocument(r"C:\Project\Grids\AustinEast.mxd")
df = arcpy.mapping.ListDataFrames(mxd)[0]

# Clip the DataFrame object using the first grid geometry in the dataset
arcpyproduction.mapping.DisableDataFrameClipping(df)
mxd.save()

# Check in extension
arcpy.CheckInExtension("Foundation")

相关主题

  • ClipDataFrameToGeometry
  • Introduction to arcpyproduction.mapping

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明