ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

DisableDataFrameClipping

Disponible avec une licence Production Mapping.

  • Résumé
  • Discussion
  • Syntaxe
  • Exemple de code

Résumé

Removes any existing clipping setting on the data frame.

Discussion

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.

Syntaxe

DisableDataFrameClipping (data_frame)
ParamètreExplicationType de données
data_frame

The DataFrame object for which to disable clipping.

DataFrame

Exemple de code

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

Rubriques connexes

  • ClipDataFrameToGeometry
  • Introduction to arcpyproduction.mapping

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal