THotPDF.PreparePDFForSigning Method

Prepara un PDF sin firmar para la firma externa, reservando el área del contenedor de firma y produciendo los byte ranges que el invocador firma

Declaración

class function PreparePDFForSigning(var PDFBytes: AnsiString; out Range1Start: Integer; out Range1Length: Integer; out Range2Start: Integer; out Range2Length: Integer; out ContentsHexStart: Integer; out ContentsHexLen: Integer): boolean;

Observaciones

PDFBytes es el documento guardado que preparó THPDFPage.AddSignedSignatureField. El método reemplaza en el sitio el marcador /ByteRange por los valores reales y devuelve False cuando no encuentra ningún marcador