THotPDF.RedactLoadedRect Method
將指定頁面區域進行塗黑(Redact)
宣告
procedure RedactLoadedRect(PageIndex: Integer;
單元
HPDFDoc
使用注意事項
| 名稱 | 用途 |
|---|---|
PageIndex | 用於選取現有項目的零基 (zero-based) 索引或物件索引 |
X1 | RedactLoadedRect 所使用的輸入 |
Y1 | RedactLoadedRect 所使用的輸入 |
X2 | RedactLoadedRect 所使用的輸入 |
Y2 | RedactLoadedRect 所使用的輸入 |
ARed | RedactLoadedRect 所使用的輸入 |
AGreen | RedactLoadedRect 所使用的輸入 |
ABlue | RedactLoadedRect 所使用的輸入 |
回傳值
此成員不傳回值
使用說明
- 彻底移除该區域的可見內容
- 可以指定填滿的 RGB 顏色
- 常用於隱藏敏感資訊