THotPDF.AddLoadedRedactAnnotationEx Method
向注释与动作工作流添加已加载文档的涂黑(redact)注释扩展数据。该调用会创建或挂接后续输出、校验、签名或页面渲染步骤所需的 PDF 侧对象
声明
function AddLoadedRedactAnnotationEx(PageIndex: Integer; X1, Y1, X2, Y2: Single; const OverlayText: AnsiString = ''; InteriorR: Single = 0; InteriorG: Single = 0; InteriorB: Single = 0; RepeatOverlay: Boolean = False; Justification: Integer = 0): THPDFDictionaryObject;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
PageIndex | 从零开始的索引或对象索引,用于选择一个现有项 |
X1 | AddLoadedRedactAnnotationEx 使用的输入 |
Y1 | AddLoadedRedactAnnotationEx 使用的输入 |
X2 | AddLoadedRedactAnnotationEx 使用的输入 |
Y2 | AddLoadedRedactAnnotationEx 使用的输入 |
OverlayText | AddLoadedRedactAnnotationEx 使用的输入 |
InteriorR | AddLoadedRedactAnnotationEx 使用的输入 |
InteriorG | AddLoadedRedactAnnotationEx 使用的输入 |
InteriorB | AddLoadedRedactAnnotationEx 使用的输入 |
RepeatOverlay | AddLoadedRedactAnnotationEx 使用的输入 |
Justification | AddLoadedRedactAnnotationEx 使用的输入 |
返回值
返回 THPDFDictionaryObject 值
使用说明
- 在注释与动作工作流中使用此 API,且要在受影响的页面、资源、字段或 catalog 对象定稿之前
- 在文档定稿之前,保持对象名、字段名、资源名和返回的句柄稳定不变
- 已加载文档中的对象引用可能是间接引用;在查看嵌套值之前,先解析数组、字典或流