AddRedactAnnotation
Annotaties en hotspotkoppelingen
Beschrijving
Voegt een ISO 32000-1 §12.5.6.23 /Subtype /Redact-voorstelannotatie toe op de geselecteerde pagina voor tweefasige redaction-workflows, met daarin /IC als binnenste vulkleur, /OverlayText en de standaard boolean-vlag /Repeat
Syntaxis
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);
Parameters
| Left, Top, Width, Height | Redaction-rectangle in de huidige meeteenheden en met de huidige coördinaatoorsprong |
|---|---|
| FillR, FillG, FillB | Componenten van de binnenste RGB-vulkleur (0.0 t/m 1.0), weggeschreven naar /IC |
| OverlayText | Optioneel vervangingslabel, weggeschreven naar /OverlayText |
| RepeatOverlay | Niet-nul zet /Repeat true, zodat de overlaytekst zich over de geredigeerde regio herhaalt |
Retourwaarden
| > 0 | De 1-gebaseerde annotatie-index op de huidige pagina, of 0 bij falen |
|---|