AddRedactAnnotation
Anotaciones y enlaces de zonas interactivas
Descripción
Agrega una anotación de propuesta /Subtype /Redact de ISO 32000-1 §12.5.6.23 en la página seleccionada para flujos de redacción en dos fases, escribiendo el color de relleno interior /IC, /OverlayText y el flag booleano estándar /Repeat
Sintaxis
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);
Parámetros
| Left, Top, Width, Height | Rectángulo de redacción en las unidades de medición y origen de coordenadas actuales |
|---|---|
| FillR, FillG, FillB | Componentes del color de relleno interior RGB (0.0 a 1.0) escritos en /IC |
| OverlayText | Etiqueta de reemplazo opcional escrita en /OverlayText |
| RepeatOverlay | Un valor distinto de cero establece /Repeat true para que el texto de superposición se repita por la región redactada |
Valores devueltos
| > 0 | El índice de anotación basado en 1 de la página actual, o 0 en caso de fallo |
|---|