面向 Delphi 和 C++Builder 的原生 PDF 建立與編輯
HotPDF 是面向 Delphi 和 C++Builder 的含源碼 PDF 元件,適合需要直接從 VCL 程式碼建立、編輯、保護、簽署、驗證和組裝 PDF 文件的應用程式。核心 PDF 產生流程不依賴外部 PDF runtime。
HotPDF 支援 RAD Studio XE5 到 RAD Studio 13.1 Florence 的 Delphi 與 C++Builder,包括 Win32、Win64 和 Win64x 工作流程。

主要能力
- 建立 PDF、加入頁面、繪製文字與向量圖形、註冊 Form XObjects、放置影像,並儲存到檔案或串流。
- 載入 PDF、檢查頁面框、複製、插入、擷取、重排、刪除、合併、蓋章、加浮水印並更新文件資訊。
- 加入連結、命名目的地、大綱、附件、註解、醒目提示、自由文字、遮蓋註解、浮水印註解、縮圖、圖層、頁面轉場和檢視器偏好設定。
- 建立和管理 AcroForm 欄位、外觀、簽名欄位、XFA 封包容器、Unicode 字型資源、欄位更新、重新命名、移除和扁平化。
- 嵌入並子集化 TrueType、Type 1 PFB、OpenType-CFF 和 CID-keyed CFF 字型,支援多語輸出和大量 CJK 文件。
- 產生 Unicode、由右至左文字、直排文字、emoji、阿拉伯/波斯/烏爾都 shaping、天城文重排,以及基於 OpenType GSUB 的字形輸出。
- 匯入 JPEG、bitmap、TIFF、JPEG2000、JBIG2、WMF 和 EMF,並使用 zlib-ng 與 libjpeg-turbo 支撐處理。
- 使用密碼、AES-128、AES-256、PDF 2.0 AES-256 R6、公鑰加密和權限標誌保護文件。
- 使用 PFX / PKCS#12、PAdES B-B、B-T、B-LT、B-LTA 工作流程、RFC 3161 時間戳和 DSS / VRI 字典簽署 PDF。
- Create text, JSON, and HTML 預檢 reports, profiles, presets, batch aggregation, embedded evidence, report comparison, and PDF/VT validation.
下載 HotPDF Component DEMO package (25.6 MB)
2026-05-26 Version 2.137.3: HotPDF changelog
標準、簽署與驗證流程
HotPDF 支援s PDF/A-1, PDF/A-2, PDF/A-3, PDF/X-1a, PDF/X-3, PDF/X-4, and PDF/UA-1 workflows, plus 預檢 and focused PDF/VT validation helpers. Profile-specific switches and guards let calls fail early instead of silently writing non-conformant PDF output.
| 流程 | HotPDF 支援 | 作者責任 |
|---|---|---|
| PDF/A-1, PDF/A-2, PDF/A-3 | PDFACompliance, XMP pdfaid, OutputIntent, font embedding, JavaScript/encryption/annotation/profile guards, and veraPDF smoke outputs. | Choose the level, provide ICC OutputIntent data, set title/language, embed fonts, and avoid out-of-profile content. |
| PDF/UA-1 | PDFUACompliance, Tagged PDF root, pdfuaid, /Lang, DisplayDocTitle, structure elements, role mapping, alternate text, and ActualText. | Build meaningful structure, reading order, headings, lists, tables, and alternative descriptions. |
| PDF/X | PDFXCompliance, OutputIntent support, prepress profile guards, and restrictions for non-print-safe features. | Provide color management, page boxes, and production settings. |
| PDF/VT validation | ValidatePDFVT checks XMP identification, metadata namespace, modification dates, PDF/X markers, OutputIntent, DPartRoot, pages, and DPart coverage. | Use it to audit files; full variable-data production intent remains caller responsibility. |
其他功能覆蓋
- OpenType GSUB LookupType 1-8, script/language feature selection, ligatures, Arabic / Persian / Urdu shaping, Devanagari reordering, and PUA emission.
- XFA packet containers, AcroForm
/AAtriggers, Unicode fonts in/DR, and CID-font appearance streams. - Incremental updates, multi-signature workflows, placeholders, CMS SignedData, and long-term validation dictionaries.
- Loaded-document helpers for page boxes, bookmark destinations, field inspection, field updates, renaming, removal, and flattening.
- 預檢 profile load/save/validate/merge/diff, batch aggregation, report embedding, XMP report embedding, PDF/VT validation, and conservative repair.
快速 Delphi 範例
program HelloHotPDF;
uses
System.SysUtils,
HPDFDoc;
var
PDF: THotPDF;
begin
PDF := THotPDF.Create(nil);
try
PDF.AutoLaunch := False;
PDF.FileName := 'HelloHotPDF.pdf';
PDF.Compression := cmFlateDecode;
PDF.EnableFontSubsetting := True;
PDF.BeginDoc;
PDF.CurrentPage.SetFont('Arial', [], 18);
PDF.CurrentPage.TextOut(50, 50, 0, 'Hello HotPDF');
PDF.EndDoc;
finally
PDF.Free;
end;
end.
何時選擇 HotPDF
- 當應用程式建立或編輯 PDF,並希望使用 Delphi/C++Builder 原始碼元件而不是獨立 PDF 服務時。
- PDFium Component is for PDF rendering, viewing, page 光柵, text extraction, and viewer UI integration.
- 需要面向傳統 PDFlibPas 式流程的不同 API 表面時,請選擇更完整的 Delphi PDF Library 套件。
授權
含原始碼的 HotPDF Delphi PDF Component
透過 FastSpring 使用信用卡/金融卡、PayPal、AliPay 或電匯付款:
新客戶首次購買全價:
HotPDF Single License ($499)
HotPDF Team/SME License ($999)
HotPDF Enterprise License ($1999)
現有客戶續費: 40% of the full price. 開啟 HotPDF 購買與續費頁面.
探索 Delphi PDF Component & Spreadsheet Development 的更多內容
訂閱產品更新
訂閱後可透過電子郵件接收最新文章。
