GetDocumentJSON

文件交換

描述

以 qPDF 風格的 JSON 字串傳回完整的文件物件圖

語法

Delphi

Function GetDocumentJSON(Options: Integer): WideString;

傳回值

未載入文件時為空字串;否則為 JSON 文字

備註

Options 遵循 ExportDocumentJSON:1 省略串流酬載,2 包含檔尾字典。傳回的 WideString 保存 UTF-16 文字,結構與 ExportDocumentJSON 寫入的相同

範例

JSON:= PDF.GetDocumentJSON(1);

另請參閱

AuditDocumentSpace, AnalyseFile