AddRedactAnnotation

주석 및 핫스폿 링크

설명

2단계 가림(redaction) 워크플로를 위해 선택된 페이지에 ISO 32000-1 §12.5.6.23 /Subtype /Redact 제안 주석을 추가하고, /IC 내부 채움 색과 /OverlayText, 표준 불리언 /Repeat 플래그를 기록합니다

구문

Delphi

Function TPDFlib.AddRedactAnnotation(Left, Top, Width, Height, FillR, FillG, FillB: Double; Const OverlayText: WideString; RepeatOverlay: Integer= 0): Integer;

ActiveX

Function PDFlib::AddRedactAnnotation(Left As Double, Top As Double, Width As Double, Height As Double, FillR As Double, FillG As Double, FillB As Double, OverlayText As String, RepeatOverlay As Long) As Long

DLL

int DLAddRedactAnnotation(int InstanceID, double Left, double Top, double Width, double Height, double FillR, double FillG, double FillB, const wchar_t* OverlayText, int RepeatOverlay);
int DLAddRedactAnnotationA(int InstanceID, double Left, double Top, double Width, double Height, double FillR, double FillG, double FillB, const char* OverlayText, int RepeatOverlay);

매개변수

Left, Top, Width, Height현재 측정 단위와 좌표 원점 기준의 가림 사각형
FillR, FillG, FillB/IC에 기록되는 내부 RGB 채움 색 성분(0.0~1.0)
OverlayText/OverlayText에 기록되는 선택적 교체 레이블
RepeatOverlay0이 아니면 /Repeat true를 설정해 오버레이 텍스트가 가려진 영역 전체에 반복됩니다

반환 값

> 0현재 페이지의 1 기반 주석 인덱스, 실패하면 0