THotPDF.ApplyXFAAsAcroForm Method
方法摘要: THotPDF.ApplyXFAAsAcroForm Method
宣告
function ApplyXFAAsAcroForm(const XDPBytes: TBytes; Editable: Boolean = True): Integer;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
XDPBytes | 此 API 所嵌入或驗證的原始位元組有效負載 |
Editable | 可編輯 |
傳回值
傳回一個 Integer 值
使用注意事項
受支援的宣告屬性類別使用 schema 預設值,包括 10pt 的 Courier 與 0.5pt 的邊線寬度;明確的小數字型與框線度量在原生 PDF 外觀與框線 dictionary 中保留其精度
- 呼叫: XFA import and flattening
- 在檔案最終定案之前,請保持物件名稱、欄位名稱、資源名稱與傳回的控制代碼穩定不變
- XFA workflows are rejected by PDF/A and PDF/X conformance modes, so flatten or remove packets before strict archival output
- 欄位與靜態內容無論 Resolution 設為何值,都保持 XFA template 給出的位置與大小(以點為單位);你在呼叫前後繪製的文字與圖形仍使用 1/Resolution 英吋
相關 API
- THotPDF
- THPDFPage
- 目錄