ArcPy: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) mNo edit summary |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
In this current case I want to be able to change the fontsize to fit many text elements into a page layout and there is indeed a property "fontSize" that is read and write. | In this current case I want to be able to change the fontsize to fit many text elements into a page layout and there is indeed a property "fontSize" that is read and write. | ||
== Validation == | |||
See https://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/customizing-script-tool-behavior.htm |
Latest revision as of 00:20, 20 December 2017
ArcPy is the Python module that ESRI provides with ArcGIS.
Today I am hacking up a script someone wrote to tune a page layout. I need to adjust a table of values so that it will fit in the space available.
Page Layout Elements
The problem I have is finding the properties of the objects in ArcPy. The docs buried in ArcMap "help" have them listed; the online docs are almost totally useless.
In this current case I want to be able to change the fontsize to fit many text elements into a page layout and there is indeed a property "fontSize" that is read and write.