GetDocumentJSON
文档交换
描述
以 qPDF 风格的 JSON 字符串返回完整的文档对象图
语法
Delphi
Function GetDocumentJSON(Options: Integer): WideString;返回值
| 未加载文档时为空字符串;否则为 JSON 文本 |
说明
Options 遵循 ExportDocumentJSON 的约定:1 省略流负载,2 包含 trailer 字典。返回的 WideString 保存 UTF-16 文本,其结构与 ExportDocumentJSON 写出的结构相同
示例
JSON:= PDF.GetDocumentJSON(1);