PDFium Delphi Component Docs

Document 屬性

元件: TPdf  ·  單元: PDFium
供直接低階存取的原生 PDFium FPDF_DOCUMENT 處理常式

語法

property Document: FPDF_DOCUMENT; // read only

說明

供直接低階存取的原生 PDFium FPDF_DOCUMENT 處理常式

只有在呼叫 PDFium Delphi Component 未包裝的 FPdfApi / FPdfEdit 函式時才使用

此方法包裝對應的 PDFium API 並將其公開為 TPdf 實例成員,讓使用者不必直接管理 FPDF_DOCUMENT 控制代碼

備註

範例

if Pdf1.Active then
  if Pdf1.Document <> nil then Memo1.Lines.Add('Document handle open');

另請參閱

FormHandle, TextPage, Active