PrintPageOrientation 儲存格 (Print Properties 區段)
會決定頁面列印方向為直印或橫印。
值 | Orientation | 自動化常數 |
---|---|---|
0 |
與印表機相同 |
visPPOSameAsPrinter |
1 |
Portrait |
visPPOPortrait |
2 |
景觀 |
visPPOLandscape |
註解
當您在檔案中插入新頁面時,此設定預設為使用中頁面中的設定。
若要依名稱從其他公式,或是從使用 CellsU 屬性的程式,取得 PrintPageOrientation 儲存格的參考,請使用:
值 | |
---|---|
儲存格名稱: |
PrintPageOrientation |
若要依索引從程式取得 PrintPageOrientation 儲存格的參考,請使用具有下列引數的 CellsSRC 屬性:
值 | |
---|---|
區段索引: |
visSectionObject |
列索引: |
visRowPrintProperties |
儲存格索引: |
visPrintPropertiesPageOrientation |