共用方式為


PDF4我

PDF4me 為您提供有關 PDF 的所有功能,例如轉換、合併、拆分、使 PDF/A 兼容、優化、保護、解鎖、執行 OCR、創建水印、創建圖像、旋轉 PDF、附加條形碼。

此連接器適用於以下產品和區域:

服務 Class Regions
副駕駛工作室 進階 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
邏輯應用程式 標準 所有 Logic Apps 區域, 但下列區域除外:
     - Azure Government 區域
     - Azure 中國區域
     - 美國國防部 (DoD)
Power Apps 進階 除下列區域外的所有 Power Apps 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
Power Automate(自動化服務) 進階 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
連絡人​​
名稱 PDF4me 支持
URL https://dev.pdf4me.com/help
Email support@pdf4me.com
連接器中繼資料
Publisher Ynoox 有限公司
網站 https://dev.pdf4me.com/
隱私策略 https://dev.pdf4me.com/privacy-policy/
類別 人工智慧;網站

PDF4我

PDF4me 連接器為您提供有關 PDF 的所有功能,例如轉換、合併、拆分、使 Pdf/A 兼容、優化、保護、解鎖、執行 OCR、創建水印、獲取縮略圖、旋轉、附加條形碼。

Pre-requisites

首先,您需要 創建一個 PDF4me 帳戶

API 文件

API 文件可在此處找到 https://dev.pdf4me.com/power-automate/documentation/

支援的作業

  • 轉換為 Pdf: 此操作會將任何辦公文檔轉換為 PDF 格式。
  • 創建圖像: 此操作將創建 PDF 文檔的縮略圖。 您可以指定頁碼並獲取縮略圖。
  • 郵票: Stamp 將向 PDF 文檔添加背景水印文本。
  • SplitPdfByBarcode: 使用 PDF 檔案中的條碼值來分割 PDF 檔案。
  • 按文本匹配拆分PDF: 使用 PDF 檔案中的文字比對來分割 PDF 檔案。
  • 轉: 向各個方向旋轉頁面。
  • 保護: 使用自訂密碼保護文件。
  • 優化: 這將以更好的質量減小文件大小。
  • PDF檔案: 這會使用 PdfA 統計轉換您的任何 pdf 文件。
  • 合併: 您可以將多個 pdf 文件合併為一個文件。
  • 按文本提取頁面: 使用 PDF 檔案中的文字比對從 PDF 檔案中擷取頁面,您也可以根據條碼文字比對產生分割檔案的檔案名稱。
  • 轉換OcrPdf: 從圖像 PDF 或掃描圖像生成可搜索的 PDF。
  • 將 Pdf 轉換為 Word: 將 PDF 文件轉換為高品質的可編輯 DOCX 檔案。
  • 將 Pdf 轉換為 Excel: 從具有表格資料的 PDF 建立 XLSX 電子表格。 即使從圖像中,您也可以生成 XLS。

節流限制

名稱 呼叫 續約期間
每個連線的 API 呼叫 600 60 秒

動作

使用 OCR 將 PDF 轉換為可編輯的 PDF

使用 OCR 識別文本並創建可搜索的 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-ocr/

使用資料字串的郵件合併 (單一文件) [已淘汰]

將文檔模板與數據合併為 json 文本。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-string-single/

依運算式擷取文字

使用規則運算式從 PDF 擷取文字。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-text-by-expression/

保護文件

使用自定義密碼保護 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/protect-document/

修復 PDF 文檔

部分或全部恢復損壞的 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/repair-pdf/

停用 Word 中的追蹤變更

禁用跟踪 Word 文件中的更改。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/disable-track-changes-in-word/

分割文件

按頁碼或重複頁面分割 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/split-pdf/

分類文件

根據文件內容對文件進行分類或識別。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/classify-document/

剖析文件

根據預先設定的範本解析或讀取 PDF 中的內容。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/parse-document/

取得 PDF 中繼資料

取得 PDF 中繼資料。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-metadata/

合併列印與資料檔案 (單一文件) [已棄用]

將文檔模板與 excel 或 Json 文件中的數據合併。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-file-single/

合併列印與資料檔案 (文件清單) [已淘汰]

將文檔模板與 excel 或 Json 文件中的數據合併。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-file-list/

呼叫自訂 API

從 PDF 呼叫自訂 API。 https://dev.pdf4me.com/power-automate/documentation/actions/custom-api-call/

啟用在 Word 中追蹤變更

啟用追蹤 Word 檔案中的變更。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/enable-track-changes-in-word/

在 Word 中取得追蹤的變更

在 Word 中獲取跟踪更改。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/get-tracking-changes-in-word/

填寫 PDF 表單

使用 JSON 資料填寫 PDF 表單並傳回單一 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/

填寫 PDF 表單 (多個) [已棄用]

此動作已被取代。 請改用填寫 PDF 表單

使用 JSON 資料填寫 PDF 表單並傳回多個檔案。 https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/

壓縮 PDF

優化或壓縮 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/compress-pdf/

壓縮影像

根據影像類型和壓縮層級壓縮影像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/compress-image/

將 HTML 轉換為 PDF

將 HTML 頁面轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/html-to-pdf/

將 HTML 頁首頁尾新增至 PDF

將 HTML 內容作為頁眉或頁尾或兩者新增至 PDF 檔案。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-html-header-footer-to-pdf/

將 Json 轉換為 Excel

將 json 轉換為 Excel。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-json-to-excel/

將 Md 轉換為 PDF

將 MD 文件轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/markdown-to-pdf/

將 PDF 轉換為 Excel

將包含表格資料的 PDF 轉換為 Excel 電子表格。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-excel/

將 PDF 轉換為 PowerPoint

將 PDF 轉換為 Powerpoint 演示幻燈片。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-powerpoint/

將 PDF 轉換為 Word

將 PDF 文檔轉換為高質量的可編輯 Word 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-word/

將 URL 轉換為 PDF

將您的 URL 文件轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/url-to-pdf/

將 Word 轉換為 PDF 表單

將 Word 檔案轉換為 PDF,並保留表單控制項。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-word-to-pdf-form/

將兩個 PDF 文件一個接一個地合併為疊加

將兩個 PDF 文件一個接一個地合併為疊加。 https://dev.pdf4me.com/power-automate/documentation/actions/merge-overlay/

將圖像圖章添加到 PDF

將圖像水印或圖章添加到 PDF 文檔中。 https://dev.pdf4me.com/power-automate/documentation/actions/image-stamp/

將多個 PDF 檔案合併為單一 PDF 檔案

將多個 PDF 文件合併為單一 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/merge/

將文件傳送至 PDF4me-Workflow

從任何地方使用文檔啟動 PDF4me 工作流程 https://dev.pdf4me.com/power-automate/documentation/actions/send-document-to-pdf4me-workflow/

將文字圖章新增至 PDF

將背景文本水印添加到 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/text-stamp/

將文字替換為圖像

將 PDF 檔案中的文字取代為影像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/replace-text-with-image/

將條碼新增至 PDF

將條碼或 QR 碼新增至您的 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/add-barcode-to-pdf/

將表單欄位新增至 PDF

將表單欄位新增至 PDF 文件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-form-field-to-pdf/

將邊界新增至 PDF

將邊界新增至 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/add-margin/

將附件新增至 PDF

將檔案作為附件附加到 PDF 檔案。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-attachment-to-pdf/

將頁碼新增至 PDF

將頁碼新增至 PDF 頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/add-page-number-to-pdf/

尋找和取代文字

尋找和取代 PDF 中的文字。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/find-and-replace-text/

平面化 PDF

使用「平面化」可從 PDF 檔案中移除所有表單控制項。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/flatten-pdf/

建立 PdfA

建立符合 PDFA 標準的文件。 https://dev.pdf4me.com/power-automate/documentation/actions/create-pdfa/

建立條碼

從文本創建條形碼或二維碼圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/create-barcode/

建立縮圖影像 [已棄用]

建立 PDF 文件的縮圖。 https://pdf4me.com/power-automate/documentation/actions/create-thumbnail/

從 HTML 產生文件 [已棄用]

從 HTML 模板生成文檔。 https://pdf4me.com/power-automate/documentation/actions/generate-document-from-html/

從 PDF 中刪除空白頁面

從 PDF 文件中刪除空白頁。 https://dev.pdf4me.com/power-automate/documentation/actions/delete-blank-pages/

從 PDF 中刪除頁面

從 PDF 文件中刪除不需要的頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/delete-pages/

從 PDF 中提取文本和圖像

從 PDF 文檔中提取文本和圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/extract-resources/

從 PDF 中提取表格

從 PDF 中提取表格為 Json。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-table-from-pdf/

從 PDF 中提取附件

從 PDF 檔案中提取附件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-attachment-from-pdf/

從 PDF 中提取頁面

從 PDF 文件中擷取所需頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/extract-pages/

從 PDF 建立影像

將 PDF 頁面轉換為圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/create-thumbnail/

從 PDF 擷取表單資料

從PDF擷取表單資料。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-form-data-from-pdf/

從 PDF 讀取條碼

從 PDF 讀取和提取條形碼或 QR 碼數據。 https://dev.pdf4me.com/power-automate/documentation/actions/read-barcode-from-pdf/

從 Word 中提取文本

從 Word 文件中提取文本。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-text-from-word/

從 Word 產生文件 [已棄用]

從 Word 模板生成文檔。 https://pdf4me.com/power-automate/documentation/actions/generate-document-from-word/

從圖像中刪除 EXIF 標籤

從影像中移除 EXIF 標籤。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/remove-exif-tags-from-image/

按文本拆分 PDF

透過識別 PDF 中的特定文字來分割 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/split-pdf-by-text/

按條形碼拆分文檔

使用其中包含的條形碼拆分 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/split-by-barcode/

數位簽章 PDF

將數位簽章新增至 PDF 文件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/digital-sign-pdf/

旋轉文件

旋轉 PDF 文件的所有頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/rotate/

旋轉頁面

旋轉 PDF 文件的特定頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/rotate-page/

準備列印

通過調整大小、顏色配置文件等準備用於打印的 PDF -https://dev.pdf4me.com/power-automate/documentation/actions/prepare-for-print

生成用於 SEPA 付款的 EPC 二維碼

生成用於 SEPA 付款的 EPC 二維碼。 https://dev.pdf4me.com/power-automate/documentation/actions/create-epc-qrcode

產生文件(單一)

從 DOCX、PDF 或 HTML 模板生成文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/generate-document/

產生文件(多個)

從 Docx/PDF/HTML 生成文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/generate-documents/

簽署 PDF

將標誌放在 PDF 文件上。 https://dev.pdf4me.com/power-automate/documentation/actions/sign-pdf/

線性化 PDF

線性化 PDF。 修改檔案以便於網頁檢視。 https://dev.pdf4me.com/power-automate/documentation/actions/linearize-pdf/

翻轉圖像

水平或垂直翻轉影像,或兩者兼而有之。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/flip-image/

與資料字串的郵件合併(文件清單)

將文檔模板與數據合併為 JSON 字符串。 https://dev.pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-string-list/

裁剪圖像

通過邊框或矩形裁剪圖像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/crop-image/

解鎖 PDF

從 PDF 檔案中移除密碼保護。 https://dev.pdf4me.com/power-automate/documentation/actions/unlock-pdf/

調整影像大小

根據百分比或特定大小調整影像大小。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/resize-image/

轉換 Visio

將 Visio 轉換為任何格式。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-visio/

轉換圖像格式

變更影像檔案的檔案格式。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-image-format/

轉換為 PDF

將任何類型的辦公文檔或圖像轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/convert-to-pdf/

使用 OCR 將 PDF 轉換為可編輯的 PDF

使用 OCR 識別文本並創建可搜索的 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-ocr/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

品質類型
qualityType True string

選擇品質類型

僅在需要時進行 OCR
ocrWhenNeeded string

僅在需要時進行 OCR

語言
language string

來源檔案的語言

非同步
isAsync boolean

如果需要很長時間,請將進程設定為非同步

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

使用資料字串的郵件合併 (單一文件) [已淘汰]

將文檔模板與數據合併為 json 文本。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-string-single/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

資料字串
dataArray True string

數據收集作為數組列表。 例如:[“V1”,“V2”,“V3”,“V4”]

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

依運算式擷取文字

使用規則運算式從 PDF 擷取文字。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-text-by-expression/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

Expression
expression True string

提取文字的正則表達式

頁面
pageSequence True string

應新增內容的頁面

傳回

名稱 路徑 類型 Description
文字清單
textList array of string

文字清單

保護文件

使用自定義密碼保護 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/protect-document/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

密碼
password True string

自訂密碼

PDF 權限
pdfPermission True string

文件允許的權限

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

修復 PDF 文檔

部分或全部恢復損壞的 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/repair-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

對應上一個動作的來源 PDF 檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

停用 Word 中的追蹤變更

禁用跟踪 Word 文件中的更改。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/disable-track-changes-in-word/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

分割文件

按頁碼或重複頁面分割 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/split-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

分割動作
splitAction True string

選擇分割動作類型

分割頁碼
splitActionNumber integer

根據分割動作輸入值

分割序列
splitSequence array of integer

輸入 split on page number 陣列的值

分割範圍
splitRanges string

輸入分割範圍的值

分割檔案命名
fileNaming string

分割檔案命名

傳回

名稱 路徑 類型 Description
splited文件
splitedDocuments array of object

分割文件

檔案名稱
splitedDocuments.fileName string

輸出檔案名稱

檔案內容
splitedDocuments.streamFile byte

輸出檔案內容

分類文件

根據文件內容對文件進行分類或識別。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/classify-document/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name string

檔案名稱

傳回

名稱 路徑 類型 Description
類別名稱
className string

文件的類別名稱

剖析文件

根據預先設定的範本解析或讀取 PDF 中的內容。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/parse-document/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent byte

輸入檔案的內容

檔案名稱
Name string

檔案名稱

範本名稱
TemplateName string

剖析範本的名稱

傳回

名稱 路徑 類型 Description
traceId
traceId string

traceId

取得 PDF 中繼資料

取得 PDF 中繼資料。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-metadata/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

對應上一個動作的來源 PDF 檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

傳回

名稱 路徑 類型 Description
Title
Title string

頁面標題

主旨
Subject string

頁面主旨

頁數
PageCount string

Count

作者
Author string

作者

大小
Size string

大小

Creator
Creator string

Creator

Producer
Producer string

出品

CreationDate
CreationDate string

CreationDate

修改日期
ModDate string

修改日期

是加密的
IsEncrypted boolean

已加密

是線性化
IsLinearized boolean

快速網頁檢視

Pdf合規性
PdfCompliance string

PDF 合規等級

是已簽署
IsSigned boolean

已簽署

PDF版本
PdfVersion string

PDF版本

合併列印與資料檔案 (單一文件) [已棄用]

將文檔模板與 excel 或 Json 文件中的數據合併。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-file-single/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

資料檔案內容
dataDocContent True byte

資料檔案內容。 僅支援 .xlsx 和 .json 類型。

資料檔案名稱
dataDocName True string

資料收集檔案名稱。

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

合併列印與資料檔案 (文件清單) [已淘汰]

將文檔模板與 excel 或 Json 文件中的數據合併。 https://pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-file-list/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

資料檔案內容
dataDocContent True byte

資料檔案內容。 僅支援 .xlsx 和 .json 類型。

資料檔案名稱
dataDocName True string

資料收集檔案名稱。

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

呼叫自訂 API

從 PDF 呼叫自訂 API。 https://dev.pdf4me.com/power-automate/documentation/actions/custom-api-call/

參數

名稱 機碼 必要 類型 Description
功能路徑
featurePath True string

方法名稱或要呼叫的功能識別碼

body
body string

啟用在 Word 中追蹤變更

啟用追蹤 Word 檔案中的變更。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/enable-track-changes-in-word/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

在 Word 中取得追蹤的變更

在 Word 中獲取跟踪更改。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/get-tracking-changes-in-word/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

名稱 路徑 類型 Description
追蹤變更
trackingChanges array of object

追蹤變更

修訂編號
trackingChanges.revisionNumber integer

修訂編號

修訂類型
trackingChanges.revisionType string

修訂類型

修訂文字
trackingChanges.revisionText string

修訂文字

修訂作者
trackingChanges.revisionAuthor string

修訂作者

日期時間戳記
trackingChanges.dateTimeStamp string

日期時間戳記

頁碼
trackingChanges.pageNumber integer

頁碼

填寫 PDF 表單

使用 JSON 資料填寫 PDF 表單並傳回單一 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

PDF 範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

表單資料
dataArray True string

資料收集作為物件清單。

保持 Pdf 模板可編輯
keepPdfEditable boolean

在表單中填寫資料後,保持 PDF 表單欄位可編輯,fafault 值為 false。

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

填寫 PDF 表單 (多個) [已棄用]

此動作已被取代。 請改用填寫 PDF 表單

使用 JSON 資料填寫 PDF 表單並傳回多個檔案。 https://dev.pdf4me.com/power-automate/documentation/actions/fill-a-pdf-form/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

PDF 範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

表單資料
dataArray True string

資料收集作為物件清單。

保持 Pdf 模板可編輯
keepPdfEditable boolean

在表單中填寫資料後,保持 PDF 表單欄位可編輯,fafault 值為 false。

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

壓縮 PDF

優化或壓縮 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/compress-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

優化配置文件
optimizeProfile True string

選擇壓縮設定檔

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

壓縮影像

根據影像類型和壓縮層級壓縮影像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/compress-image/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

影像類型
imageType True string

輸入影像的檔案格式

影像類型
compressionLevel string

影像的壓縮層級

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將 HTML 轉換為 PDF

將 HTML 頁面轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/html-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容。 支援 HTML/ZIP。

HTML 檔案名稱
docName True string

具有副檔名的 HTML 檔案名稱

索引檔案路徑
indexFilePath string

如果輸入檔案是 ZIP,則需要索引檔案路徑。

頁面佈局
layout string

設定頁面佈局。

頁面大小
format string

設定紙張尺寸

Scale
scale float

縮放至頁面。

上邊距
topMargin string

設定上邊界。

底部邊界
bottomMargin string

設定底部邊距。

左邊距
leftMargin string

設定左邊距。

右邊距
rightMargin string

設定右邊距。

列印背景
printBackground boolean

顯示背景影像。

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

將 HTML 頁首頁尾新增至 PDF

將 HTML 內容作為頁眉或頁尾或兩者新增至 PDF 檔案。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-html-header-footer-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

HTML 內容
htmlContent True string

要新增至頁首/頁尾的HTML內容

地點
location string

Html 內容的位置

頁面
pages True string

應新增內容的頁面

跳過第一頁
skipFirstPage boolean

跳過第一頁

左邊距 (px)
marginLeft string

左側要添加的邊距 (px)

右邊距 (px)
marginRight string

右側要添加的邊距 (px)

邊距頂部 (px)
marginTop string

頂部要添加的邊距 (px)

邊距底部 (px)
marginBottom string

底部要添加的邊距 (px)

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將 Json 轉換為 Excel

將 json 轉換為 Excel。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-json-to-excel/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

第一排
firstRow integer

從應該開始的位置列位置

第一欄
firstColumn integer

資料行位置應從該位置開始

工作表名稱
worksheetName string

Excel 中新工作表的名稱。 如果為空,則會設定為 Sheet1

轉換數字和日期
convertNumberAndDate boolean

是否自動轉換數字和日期

日期格式
dateFormat string

日期和時間字串的格式。 在此處檢查格式 - https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

號碼格式
numberFormat string

數字的格式。 在此處檢查格式 - https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings

忽略 Null 值
ignoreNullValues boolean

忽略 json 屬性值中的 Null 值

將標題設定為粗體
isTitleBold boolean

將標題設為粗體

換行標題文字
isTitleWrapText boolean

將標題換行以換行以取得較長的文字

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將 Md 轉換為 PDF

將 MD 文件轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/markdown-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容。 .md/.zip 支援。

輸入檔案名稱
docName True string

具有副檔名的來源檔案名稱

Markdown 檔案路徑
mdFilePath string

如果輸入檔案是 ZIP,則需要 Markdown 檔案路徑。

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

將 PDF 轉換為 Excel

將包含表格資料的 PDF 轉換為 Excel 電子表格。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-excel/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

品質類型
qualityType True string

選擇品質類型

語言
language string

來源檔案的語言

合併所有工作表
mergeAllSheets boolean

轉換為 excel 後合併所有工作表

輸出格式
outputFormat string

選擇輸出格式

非同步
isAsync boolean

如果需要很長時間,請將進程設定為非同步

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將 PDF 轉換為 PowerPoint

將 PDF 轉換為 Powerpoint 演示幻燈片。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-powerpoint/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

品質類型
qualityType string

選擇品質類型

語言
language string

來源檔案的語言

非同步
isAsync boolean

如果需要很長時間,請將進程設定為非同步

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將 PDF 轉換為 Word

將 PDF 文檔轉換為高質量的可編輯 Word 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/pdf-to-word/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

品質類型
qualityType True string

選擇品質類型

語言
language string

來源檔案的語言

非同步
isAsync boolean

如果需要很長時間,請將進程設定為非同步

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將 URL 轉換為 PDF

將您的 URL 文件轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/url-to-pdf/

參數

名稱 機碼 必要 類型 Description
網址
webUrl True string

要轉換為 PDF 的 Web URL

驗證類型
authType string

網址網站的驗證類型(如果有)

用戶名稱
username string

使用者名稱(如果需要驗證)

密碼
password string

密碼 (如果需要驗證)

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

將 Word 轉換為 PDF 表單

將 Word 檔案轉換為 PDF,並保留表單控制項。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-word-to-pdf-form/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

Word檔案的內容

檔案名稱
Name True string

Word 檔案的名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將兩個 PDF 文件一個接一個地合併為疊加

將兩個 PDF 文件一個接一個地合併為疊加。 https://dev.pdf4me.com/power-automate/documentation/actions/merge-overlay/

參數

名稱 機碼 必要 類型 Description
基本檔案內容
baseDocContent True byte

對應基礎 PDF 檔案內容

基本檔案名稱
baseDocName True string

具有副檔名的基礎 PDF 檔案名稱

圖層檔案內容
layerDocContent True byte

地圖頂層 PDF 檔案內容

圖層檔案名稱
layerDocName True string

頂層 PDF 檔案名稱與副檔名

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

將圖像圖章添加到 PDF

將圖像水印或圖章添加到 PDF 文檔中。 https://dev.pdf4me.com/power-automate/documentation/actions/image-stamp/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

映射 PDF 文件內容以添加圖像水印

PDF 檔案名稱
docName True string

帶有文件擴展名的 PDF 文件名

影像檔案內容
imageFile True byte

從來源動作對應影像檔案內容

影像檔案名稱
imageName True string

具有副檔名的影像檔案名稱

頁面
pages True string

指定用於添加圖章的頁碼,例如 1、2 或全部。 預設全部。

水平對齊
alignX True string

選取水平坐標系

垂直對齊
alignY True string

選取垂直坐標系

高度
heightInMM True string

影像的高度(以毫米為單位)。 '0' 代表自動。

寬度
widthInMM True string

影像的寬度(以毫米為單位)。 '0' 代表自動。

水平邊距
marginXInMM True string

影像左原點的邊距(以毫米為單位)

垂直邊距
marginYInMM True string

影像頂部原點的邊界(以毫米為單位)

透明度
opacity True integer

指定介於 0 到 100 之間的值。 0 表示完全透明,100 表示完全不透明。

僅列印
showOnlyInPrint boolean

僅在列印時顯示浮水印

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將多個 PDF 檔案合併為單一 PDF 檔案

將多個 PDF 文件合併為單一 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/merge/

參數

名稱 機碼 必要 類型 Description
文件內容
docContent True array of byte

文件內容

輸出檔案名稱
Name True string

名稱

傳回

從 PDF4me 合併輸出文件內容

檔案內容
binary

將文件傳送至 PDF4me-Workflow

從任何地方使用文檔啟動 PDF4me 工作流程 https://dev.pdf4me.com/power-automate/documentation/actions/send-document-to-pdf4me-workflow/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容。

輸入檔案名稱
docName True string

檔案名稱與副檔名

PDF4me-Workflow 名稱
wfName True string

設定您的 PDF4me-Workflow 名稱

傳回

名稱 路徑 類型 Description
地位
status string

PDF4me 工作流程觸發器狀態

工作識別碼
jobId string

已執行 PDF4me 工作流程的 JobId

將文字圖章新增至 PDF

將背景文本水印添加到 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/text-stamp/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

用於添加水印的映射源文件內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

文字
text True string

要新增為浮水印的文字

字體大小
fontSize integer

設定文字字型大小

字體顏色
fontColor string

設定字型顏色

將水印文字設定為粗體
isBold boolean
將浮水印文字設定為斜體
isItalics boolean
下劃線浮水印文字
underline boolean
頁面
pages True string

指定要添加水印的頁碼,例如 1、2 或全部。 預設 - 全部

水平對齊
alignX True string

選取「水平坐標系」

垂直對齊
alignY True string

選取「垂直坐標系」

水平邊距
marginXInMM string

影像左原點或右原點的邊界(以毫米為單位)

垂直邊距
marginYInMM string

影像頂部或底部原點的邊界(以毫米為單位)

透明度
opacity string

指定介於 0 到 100 之間的值。 0 表示完全透明,100 表示完全不透明。

旋轉
rotate integer

旋轉角度(0 到 360)

僅列印
showOnlyInPrint boolean

僅在列印時顯示浮水印

橫向
transverse boolean

將文字設定為對角線

將文字放在頁面上
fitTextOverPage boolean

將文字放在整個頁面上

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

將文字替換為圖像

將 PDF 檔案中的文字取代為影像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/replace-text-with-image/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

取代文字
replaceText True string

要取代的文字

影像
imageContent byte

替換圖像

影像高度
imageHeight string

影像的高度。 0 表示自動偵測。

影像寬度
imageWidth string

影像的寬度。 0 表示自動偵測。

頁面
pageSequence True string

應新增內容的頁面

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將條碼新增至 PDF

將條碼或 QR 碼新增至您的 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/add-barcode-to-pdf/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

映射 PDF 文件內容以添加條形碼。

PDF 檔案名稱
docName True string

帶有文件擴展名的 PDF 文件名

文字
text True string

要嵌入為條碼的文字。

條碼類型
barcodeType True string

要新增的條碼類型

頁面
pages True string

提及添加條形碼的頁碼,例如 1,2

水平對齊
alignX True string

選取「水平坐標系」

垂直對齊
alignY True string

選取「垂直坐標系」

高度
heightInMM True string

條碼的高度(以毫米為單位)。 0 表示自動。

寬度
widthInMM True string

條碼的寬度(以毫米為單位)。 0 表示自動。

水平邊距
marginXInMM True string

從垂直邊緣到條碼的邊距(以毫米為單位)

垂直邊距
marginYInMM True string

從水平邊緣到條碼的邊距(以毫米為單位)

不透明度
opacity True integer

給出 0 到 100 之間的數字。 0 是完全透明的。 100 表示完全不透明。

顯示文字
displayText string

條碼旁邊要顯示的文字

上面是文字
isTextAbove boolean

顯示條碼上方的文字

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

將表單欄位新增至 PDF

將表單欄位新增至 PDF 文件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-form-field-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

欄位名稱
fieldName True string

表單欄位的名稱

表單欄位類型
formFieldType True string

要新增的表單欄位類型

初始值
initialValue string

表單欄位的初始值。 若要設定核取方塊值,請設定為「1」或「true」

位置 X
positionX integer

表單欄位從頁面左邊緣的位置

位置 Y
positionY integer

表單欄位從頁面底部邊緣的位置

頁面
pages True string

應新增表單欄位的頁面

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將邊界新增至 PDF

將邊界新增至 PDF 文件。 https://dev.pdf4me.com/power-automate/documentation/actions/add-margin/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

對應上一個動作的來源 PDF 檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

左邊距 (mm)
marginLeft True string

在頁面左側新增邊距 (mm)

右邊距 (mm)
marginRight True string

頁面右側新增邊距 (mm)

頂部邊距 (mm)
marginTop True string

要在頁面頂部添加的邊距 (mm)

邊距底部 (mm)
marginBottom True string

頁面底部要新增的邊距 (mm)

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將附件新增至 PDF

將檔案作為附件附加到 PDF 檔案。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/add-attachment-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

附件檔案內容
docContent byte

附件檔的內容

附件檔名
Name True string

附件檔的名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

將頁碼新增至 PDF

將頁碼新增至 PDF 頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/add-page-number-to-pdf/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

從來源動作對應來源檔案內容

PDF 檔案名稱
docName True string

具有副檔名的來源檔案名稱

頁面格式
pageNumberFormat string

要顯示的頁碼格式

水平對齊
alignX True string

選取水平坐標系

垂直對齊
alignY True string

選取垂直坐標系

水平邊距
marginXinMM integer

水平邊距(以毫米為單位)

垂直邊距
marginYinMM integer

垂直邊距(以毫米為單位)

字體大小
fontSize True integer

頁碼的字型大小

設定粗體
isBold boolean

設定頁碼的粗體字型

設定斜體
isItalic boolean

設定頁碼的斜體字型

跳過第一頁
skipFirstPage boolean

略過文件第一頁的編號

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

尋找和取代文字

尋找和取代 PDF 中的文字。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/find-and-replace-text/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

舊文本
oldText True string

要搜尋的文字

新文本
newText True string

要替換的文字

頁面
pageSequence True string

應取代文字的頁面

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

平面化 PDF

使用「平面化」可從 PDF 檔案中移除所有表單控制項。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/flatten-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

建立 PdfA

建立符合 PDFA 標準的文件。 https://dev.pdf4me.com/power-automate/documentation/actions/create-pdfa/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

Compliance
compliance True string

從清單中選取合規性

允許升級
allowUpgrade boolean

允許升級合規性

允許降級
allowDowngrade boolean

允許降級合規性

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

建立條碼

從文本創建條形碼或二維碼圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/create-barcode/

參數

名稱 機碼 必要 類型 Description
條碼類型
barcodeType True string

設定條碼類型

文字
text True string

要嵌入為條碼的文字

隱藏文字
hideText boolean

隱藏條碼影像中的文字

傳回

從 PDF4me Connect 輸出文件內容。

條碼影像
binary

建立縮圖影像 [已棄用]

建立 PDF 文件的縮圖。 https://pdf4me.com/power-automate/documentation/actions/create-thumbnail/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源輸入檔案內容

檔案名稱
name True string

從來源輸入檔案名稱

圖片擴展
ImageExtension True string

從清單中選擇影像副檔名

頁數
PageNrs True array of integer

頁數

寬度像素
WidthPixel True integer

縮圖影像的大小(以 (寬度)像素為單位)

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

從 HTML 產生文件 [已棄用]

從 HTML 模板生成文檔。 https://pdf4me.com/power-automate/documentation/actions/generate-document-from-html/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

HTML 範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

資料字串
dataArray True string

資料收集作為物件清單。

輸出類型
outputType string

選擇輸出類型

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

從 PDF 中刪除空白頁面

從 PDF 文件中刪除空白頁。 https://dev.pdf4me.com/power-automate/documentation/actions/delete-blank-pages/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

對應上一個動作的來源 PDF 檔案內容

檔案名稱
Name True string

具有正確副檔名的來源檔案名稱

刪除選項
deletePageOption True string

選擇刪除選項

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

從 PDF 中刪除頁面

從 PDF 文件中刪除不需要的頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/delete-pages/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

對應上一個動作的來源 PDF 檔案內容

檔案名稱
Name True string

具有正確副檔名的來源檔案名稱

頁碼
pageNumbers True string

指定要刪除的頁面(例如:1,2)

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

從 PDF 中提取文本和圖像

從 PDF 文檔中提取文本和圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/extract-resources/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源輸入檔案內容

檔案名稱
Name True string

從來源輸入檔案名稱

擷取文字
extractText boolean

擷取文字 true/false

提取圖像
extractImages boolean

提取圖像 true/false

傳回

名稱 路徑 類型 Description
文本
texts array of string

文本

images
images array of object

圖片

檔案名稱
images.fileName string

輸出檔案名稱

檔案內容
images.streamFile byte

輸出檔案內容

從 PDF 中提取表格

從 PDF 中提取表格為 Json。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-table-from-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

名稱 路徑 類型 Description
表清單
tableList array of object

表格清單

頁碼
tableList.pageNumber integer

頁碼

Table
tableList.table array of array
Rows
tableList.table array of string

從 PDF 中提取附件

從 PDF 檔案中提取附件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-attachment-from-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

從 PDF 中提取頁面

從 PDF 文件中擷取所需頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/extract-pages/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

頁碼
pageNumbers True string

指定要提取的頁碼(例如:1,2)

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

從 PDF 建立影像

將 PDF 頁面轉換為圖像。 https://dev.pdf4me.com/power-automate/documentation/actions/create-thumbnail/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
name True string

具有副檔名的來源檔案名稱

圖片擴展
ImageExtension True string

從列表中選擇圖像格式

頁數
PageNrs True array of integer

頁數

寬度像素
WidthPixel True integer

要產生的影像大小(寬度)(以像素為單位)

頁碼
pageNrs True string

要轉換為影像的 PDF 頁碼

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

從 PDF 擷取表單資料

從PDF擷取表單資料。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-form-data-from-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

傳回

名稱 路徑 類型 Description
traceId
traceId string

追蹤識別碼

從 PDF 讀取條碼

從 PDF 讀取和提取條形碼或 QR 碼數據。 https://dev.pdf4me.com/power-automate/documentation/actions/read-barcode-from-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

條碼類型
barcodeType True array of string

條碼類型

頁面
pages string

提及頁碼,例如 1、2 或全部

傳回

名稱 路徑 類型 Description
條碼
barcodes array of object

條碼

條碼類型
barcodes.barcodeType string

輸出條碼類型

條碼文字
barcodes.Value string

輸出條碼文字

條碼頁碼
barcodes.page integer

輸出條碼頁碼

從 Word 中提取文本

從 Word 文件中提取文本。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/extract-text-from-word/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

起始頁碼
startPageNumber string

起始頁應從中提取

結束頁碼
endPageNumber string

結束頁碼應結束的位置

刪除註解
removeComments boolean

在文字擷取之前移除註解

接受變更
acceptChanges boolean

在文字擷取之前移除註解

傳回

名稱 路徑 類型 Description
JobId
jobId string

JobId

檔案內容
docData byte

文字檔案內容

文字
docText string

文字

從 Word 產生文件 [已棄用]

從 Word 模板生成文檔。 https://pdf4me.com/power-automate/documentation/actions/generate-document-from-word/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

Word 範本檔案內容。

範本檔案名稱
templateDocName True string

範本檔案名稱。

輸入資料類型
inputDataType string

選擇輸入資料類型

資料字串
dataArray True string

資料收集作為物件清單。

欄位中繼資料
metaDataJson string

Json格式欄位的中繼資料

輸出類型
outputType string

選擇輸出文件類型

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

從圖像中刪除 EXIF 標籤

從影像中移除 EXIF 標籤。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/remove-exif-tags-from-image/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

影像類型
imageType True string

輸入影像的檔案格式

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

按文本拆分 PDF

透過識別 PDF 中的特定文字來分割 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/split-pdf-by-text/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

文字
text True string

搜尋文字

分割類型
splitTextPage True string

選擇分割方式

分割檔案命名
fileNaming string

分割檔案命名

傳回

名稱 路徑 類型 Description
splited文件
splitedDocuments array of object

分割文件

檔案名稱
splitedDocuments.fileName string

輸出檔案名稱

文字
splitedDocuments.docText string

從檔案讀取的文字

檔案內容
splitedDocuments.streamFile byte

輸出檔案內容

按條形碼拆分文檔

使用其中包含的條形碼拆分 PDF 文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/split-by-barcode/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

條碼過濾器
barcodeFilter True string

選擇條碼篩選器

條碼資料
barcodeString True string

鍵入要分割的條碼資料

條碼類型
barcodeType True string

選擇條碼類型

分割條碼頁面
splitBarcodePage True string

選擇分割條碼頁面

合併頁面
combinePagesWithSameConsecutiveBarcodes boolean

合併具有相同條碼的頁面。 任何具有連續相同條碼文字的頁面都將合併為單一文件

PDF 渲染 DPI
pdfRenderDpi string

Pdf 渲染條形碼的 Dpi。 接受的值 - 100、150、200、250

非同步
isAsync boolean

如果需要很長時間,請將進程設定為非同步

傳回

名稱 路徑 類型 Description
splited文件
splitedDocuments array of object

分割文件

檔案名稱
splitedDocuments.fileName string

輸出檔案名稱

條碼文字
splitedDocuments.barcodeText string

輸出條碼文字

檔案內容
splitedDocuments.streamFile byte

輸出檔案內容

數位簽章 PDF

將數位簽章新增至 PDF 文件。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/digital-sign-pdf/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

PDF 檔案內容

PDF 檔案名稱
Name True string

PDF 檔案的名稱

憑證檔案
signCertificate True byte

憑證檔案內容

憑證密碼
signCertificatePassword True string

憑證檔案的密碼

頁碼
pageNr string

檔案中的頁碼

邊距 X
marginX integer

從頁面底部開始的位置

邊距 Y
marginY integer

從頁面左側開始的位置

寬度
width integer

證書寬度

高度
height integer

證書高度

標誌位置
sigLocation string

憑證簽署位置

簽署者名稱
signerName string

簽署者名稱。

簽署原因
sigReason string

簽約理由

可見
visible boolean

證書應可見或不可見

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

旋轉文件

旋轉 PDF 文件的所有頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/rotate/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

旋轉類型
rotationType True string

從清單中選取旋轉類型

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

旋轉頁面

旋轉 PDF 文件的特定頁面。 https://dev.pdf4me.com/power-automate/documentation/actions/rotate-page/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

從來源動作對應來源檔案內容

PDF 檔案名稱
docName True string

具有副檔名的來源檔案名稱

頁碼
page True integer

從 PDF 中指定頁碼

旋轉類型
rotationType True string

從清單中選取旋轉類型

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

準備列印

通過調整大小、顏色配置文件等準備用於打印的 PDF -https://dev.pdf4me.com/power-automate/documentation/actions/prepare-for-print

參數

名稱 機碼 必要 類型 Description
紙張尺寸
schemaVal string

您可以指定紙張尺寸

作業
operation dynamic

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

生成用於 SEPA 付款的 EPC 二維碼

生成用於 SEPA 付款的 EPC 二維碼。 https://dev.pdf4me.com/power-automate/documentation/actions/create-epc-qrcode

參數

名稱 機碼 必要 類型 Description
指定 EPC 版本
version True string

您可以指定 EPC 版本。

指定 EPC 字集
characterSet string

您可以指定 EPC 字集。

受益人的 BIC
bic string

您可以指定收款人的 BIC。 BIC 僅對 EPC 版本 V1 是強制性的。

受益人姓名
receiverName True string

您可以指定收款人/收款人姓名。

收款人賬戶 (IBAN)
iban True string

您可以指定收款人帳戶 (IBAN)。

金額 (EUR)
amount True float

您可以指定交易金額 (EUR)。

商業代碼
purpose string

您可以指定業務代碼/用途。

付款參考
remittanceReference string

您可以指定付款/匯款參考。

匯款資訊
remittanceText string

您可以指定匯款資訊。

提示文字
information string

消息。

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

產生文件(單一)

從 DOCX、PDF 或 HTML 模板生成文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/generate-document/

參數

名稱 機碼 必要 類型 Description
範本檔案類型
templateFileType True string

選擇範本檔案類型

範本檔案名稱
templateFileName True string

具有副檔名的範本檔案名稱。

範本檔案資料
templateFileData True byte

對應上一個動作的來源範本檔案內容。

文件資料類型
documentDataType True string

選擇文件資料類型

文件資料檔案
documentDataFile byte

對應來源 上一個動作中的資料檔案內容。

文件資料文字
documentDataText string

只有在未對應「文件資料檔案」時才需要

欄位中繼資料
metaDataJson string

JSON 格式欄位的中繼資料

輸出類型
outputType True string

選擇輸出文件類型

保持 Pdf 模板可編輯
keepPdfEditable boolean

在表單中填寫資料後,保持 PDF 表單欄位可編輯,fafault 值為 false。

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

產生文件(多個)

從 Docx/PDF/HTML 生成文檔。 https://dev.pdf4me.com/power-automate/documentation/actions/generate-documents/

參數

名稱 機碼 必要 類型 Description
範本檔案類型
templateFileType True string

選擇範本檔案類型

範本檔案名稱
templateFileName True string

具有正確文件擴展名的模板文件名。

範本檔案資料
templateFileData True byte

對應上一個動作的來源範本檔案內容。

文件資料類型
documentDataType True string

選擇文件資料類型

文件資料檔案
documentDataFile byte

對應上一個動作的來源文件檔案內容。

文件資料文字
documentDataText string

只有在未對應「文件資料檔案」時才需要

欄位中繼資料
metaDataJson string

Json格式欄位的中繼資料

輸出類型
outputType True string

選擇輸出文件類型

保持 Pdf 模板可編輯
keepPdfEditable boolean

在表單中填寫資料後,保持 PDF 表單欄位可編輯,fafault 值為 false。

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

簽署 PDF

將標誌放在 PDF 文件上。 https://dev.pdf4me.com/power-automate/documentation/actions/sign-pdf/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

從來源動作對應 PDF 檔案內容

PDF 檔案名稱
docName True string

帶有文件擴展名的 PDF 文件名

簽署檔案內容
imageFile True byte

從來源對應簽章影像檔案內容

簽署影像檔案名稱
imageName True string

簽名影像檔案名稱(副檔名)

水平對齊
alignX True string

選取水平坐標系

垂直對齊
alignY True string

選取垂直坐標系

頁面
pages True string

指定要新增符號的頁碼。 例如 1,2

高度
heightInMM string

標誌的高度(以毫米為單位)。 '0' 代表自動。

寬度
widthInMM string

影像的寬度(以毫米為單位)。 '0' 代表自動。

水平邊距
marginXInMM True string

影像左原點的邊距(以毫米為單位)

垂直邊距
marginYInMM True string

影像頂部原點的邊界(以毫米為單位)

不透明度
opacity True integer

給出 0 到 100 之間的數字。 0 是完全透明的。 100 表示完全不透明。

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

線性化 PDF

線性化 PDF。 修改檔案以便於網頁檢視。 https://dev.pdf4me.com/power-automate/documentation/actions/linearize-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

壓縮類型
optimizeProfile True string

選擇壓縮類型

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

翻轉圖像

水平或垂直翻轉影像,或兩者兼而有之。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/flip-image/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

方向類型
orientationType True string

設定翻轉方向

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

與資料字串的郵件合併(文件清單)

將文檔模板與數據合併為 JSON 字符串。 https://dev.pdf4me.com/power-automate/documentation/actions/mail-merge-with-data-string-list/

參數

名稱 機碼 必要 類型 Description
範本檔案資料
templateDocContent True byte

從來源對應範本檔案內容

範本檔案名稱
templateDocName True string

具有副檔名的範本檔案名稱

資料字串
dataArray True string

數據收集作為數組列表。 例如 [[“”V1“,”V2“,”V3“,”V4“],[”V1“,”V2“,”V3“,”V4“]]”

傳回

名稱 路徑 類型 Description
輸出文件
outputDocuments array of object

輸出文件

檔案名稱
outputDocuments.fileName string

輸出檔案名稱

檔案內容
outputDocuments.streamFile byte

輸出檔案內容

裁剪圖像

通過邊框或矩形裁剪圖像。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/crop-image/

參數

名稱 機碼 必要 類型 Description
裁切類型
schemaVal string

設定裁切類型

作業
operation dynamic

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

解鎖 PDF

從 PDF 檔案中移除密碼保護。 https://dev.pdf4me.com/power-automate/documentation/actions/unlock-pdf/

參數

名稱 機碼 必要 類型 Description
PDF 檔案內容
docContent True byte

從來源動作對應來源檔案內容

PDF 檔案名稱
docName True string

具有副檔名的來源檔案名稱

密碼
password True string

為 PDF 檔案設定的密碼。

傳回

從 PDF4me API 回應輸出檔案內容。

檔案內容
binary

調整影像大小

根據百分比或特定大小調整影像大小。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/resize-image/

參數

名稱 機碼 必要 類型 Description
影像調整大小類型
schemaVal string

設定影像調整大小類型

作業
operation dynamic

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

轉換 Visio

將 Visio 轉換為任何格式。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-visio/

參數

名稱 機碼 必要 類型 Description
輸出格式
schemaVal string

Visio 檔案的輸出格式

作業
operation dynamic

傳回

從 PDF4me Connect 輸出文件內容

檔案內容
binary

轉換圖像格式

變更影像檔案的檔案格式。 請參閱此處了解更多信息 - https://dev.pdf4me.com/power-automate/documentation/actions/convert-image-format/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

輸入檔案的內容

檔案名稱
Name True string

檔案名稱

目前影像格式
currentImageFormat True string

檔案的目前影像格式

新影像格式
newImageFormat True string

檔案的新影像格式

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

轉換為 PDF

將任何類型的辦公文檔或圖像轉換為 PDF。 https://dev.pdf4me.com/power-automate/documentation/actions/convert-to-pdf/

參數

名稱 機碼 必要 類型 Description
檔案內容
docContent True byte

從來源動作對應來源檔案內容

檔案名稱
Name True string

具有副檔名的來源檔案名稱

傳回

從 PDF4me API 回應輸出檔案內容

檔案內容
binary

觸發程序

從 PDF4me 獲取文檔

從 PDF4me 應用程式傳送文件時觸發。

從 PDF4me 獲取文檔

從 PDF4me 應用程式傳送文件時觸發。

參數

名稱 機碼 必要 類型 Description
名稱
Name True string

PDF4me 動作的名稱

傳回

名稱 路徑 類型 Description
檔案名稱
fileName string

fileName

檔案內容
fileContent binary

檔案內容

定義

二進位

這是基本數據類型 『binary』。