元編程參考文件

Office 會話

3 個節點

本頁內容 3

開啟 Office 文件

函數

從檔案開啟的 Office 文件:Formula 活頁簿、Impulse 文件或 Expo 簡報。在 Methodox Office 中,無論路徑為何,都是該圖所屬的文件。

簽名
開啟 Office 文件(路徑: 文字) -> Document Session
DocumentSession OpenOfficeDocument(string path)

參數

名稱型別預設值說明
路徑文字—檔案。

返回

結果Document Session
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Office 會話
所屬包
Methodox Office

儲存 Office 文件

函數

儲存“開啟 Office 文件”開啟的文件及其參數。

簽名
儲存 Office 文件(文件: Document Session)
void SaveOfficeDocument(DocumentSession document)

參數

名稱型別預設值說明
文件Document Session—文件。
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Office 會話
所屬包
Methodox Office

本文件

函數

此圖所處理的文件:Methodox Office 傳入執行的那個;在元編程(專業版)中,則是 Methodox Office 在此開啟該圖時所連結的那個。

簽名
本文件() -> Document Session
DocumentSession ThisDocument()

返回

結果Document Session
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Office 會話
所屬包
Methodox Office