From 5b699b385e1a00c52418563b249ce6050c671b35 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 17 十一月 2023 10:54:01 +0800 Subject: [PATCH] 修改图例和比例尺 --- ExportMap/Sources/MoonExp.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExportMap/Sources/MoonExp.py b/ExportMap/Sources/MoonExp.py index f2eee56..e2ab812 100644 --- a/ExportMap/Sources/MoonExp.py +++ b/ExportMap/Sources/MoonExp.py @@ -158,12 +158,12 @@ # add_map_layer(project, layout) # sm = layout.itemById(r'璇存槑') -table = layout.multiFrames()[0] +'''table = layout.multiFrames()[0] contents = table.tableContents() # contents[0][1] = scale contents[1][1].setContent(scale) table.setTableContents(contents) -table.refresh() +table.refresh()''' # collection = layout.pageCollection() # page = collection.page(0) -- Gitblit v1.9.3