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 | 用於選取現有項目的零基 (zero-based) 索引或物件索引 |
X1 | AddLoadedRedactAnnotationEx 使用的輸入 |
Y1 | AddLoadedRedactAnnotationEx 使用的輸入 |
X2 | AddLoadedRedactAnnotationEx 使用的輸入 |
Y2 | AddLoadedRedactAnnotationEx 使用的輸入 |
OverlayText | AddLoadedRedactAnnotationEx 使用的輸入 |
InteriorR | AddLoadedRedactAnnotationEx 使用的輸入 |
InteriorG | AddLoadedRedactAnnotationEx 使用的輸入 |
InteriorB | AddLoadedRedactAnnotationEx 使用的輸入 |
RepeatOverlay | AddLoadedRedactAnnotationEx 使用的輸入 |
Justification | AddLoadedRedactAnnotationEx 使用的輸入 |
傳回值
傳回 THPDFDictionaryObject 值
使用說明
- 在註解與動作流程中,於受影響的頁面、資源、欄位或 catalog 物件定稿之前使用此 API
- 在文件定稿之前,保持物件名稱、欄位名稱、資源名稱與傳回的 handle 穩定
- 已載入文件中的物件參照可能是間接參照;檢視巢狀值之前,請先解析陣列、字典或串流