<< Click to Display Table of Contents >>

 

PrintMap

 

 

列印地圖,可選在地圖模式或輸出模式下列印

語法:

PrintMap (sgd,printername, data_frame)

參數

說明

參數類型

sgd

要列印的地圖文件

Mapdoucument物件

printername

列印用的印表機名稱

字串

data_frame

數據框架類型,為下列任一種

PAGE_LAYOUT

圖層集

字串

PrintMap使用範例

import sgpy

sgd = sgpy.mapping.MapDocument("current")

sgpy.mapping.PrintMap(sgd,r'Bullzip PDF Printer','PAGE_LAYOUT')

del sgd

 


©2015 Supergeo Technologies Inc. All rights reserved.