ExportMap/Sources/render.py
@@ -109,8 +109,10 @@ # sm = layout.itemById(r'说明') table = layout.multiFrames()[0] contents = table.tableContents() contents[1][1] = scale table.refreshAttributes() # contents[1][1] = str(scale) contents[1][1].setContent(scale) # table.refreshAttributes() table.setTableContents(contents) table.refresh() # collection = layout.pageCollection()