Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

ArcGIS' arcpy does not have a function to add a table to a layout. I was thinking that maybe taking that table (e.g. a dbf), there may be some python script command to turn it into a raster (e.g. do something like a screen capture on the table). You could then add the screen capture raster image to the layout using arcpy. Anyone know of a function in python, or a few lines of python code to do this? Thanks for your advice.

share|improve this question
add comment

1 Answer 1

From ESRI:

The following script will construct a graphic table based on data values from a table in the map document. The map document was authored with a vertical line named vertLine, a horizontal line named horzLine, and a text element named TableText. Each of the elements were authored with the appropriate symbology properties. The element's anchors were also set to the upper left position and the text element's vertical and horizontal justification were set to top left.

http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000040000000

Edit - To clarify, the script and the quoted paragraph are about 2/3 of the way down in the article.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.