THotPDF.FlattenLoadedAnnotations Method
为文档创建工作流提供扁平化已加载批注的行为。当周围的 API 族需要对 PDF 对象、页面内容、资源、一致性或诊断进行显式控制时使用它
声明
function FlattenLoadedAnnotations(const PageRange: string= ''; const SubtypeFilter: AnsiString= ''): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
PageRange | FlattenLoadedAnnotations 使用的输入 |
SubtypeFilter | FlattenLoadedAnnotations 使用的输入 |
返回值
返回 Integer 值
使用说明
- 在受影响的页面、资源、字段或目录对象完成之前,在文档创建工作流中使用此 API
- 保持对象名、字段名、资源名和返回的句柄稳定,直到文档完成
- 已加载文档对象引用可能是间接的;在检查嵌套值之前解析数组、字典或流