Alle Tools›Sign PDF
PDF-Tools

Sign PDF

pdf-signature

Use Sign PDF through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessI · InteractiveE · Embedded
Tool-IDpdf-signature
Version1
AusführungCLIENT
ModiHeadless, Interactive, Embedded

Schnellzugriff

Eingabedateien 1Ausgabedateien 1

Eingabe

Zulässige Eingabeformate und Dateianzahl für dieses Tool.

Eingabetypfile
Dateianzahl1 – 1
Zulässige MIME-Typenapplication/pdf

Parameter

Diese Werte über request.options übergeben.

Parameter Typ Erforderlich Standard Zulässig / Bereich Beschreibung
page integer Optional 1 1 – ∞ 1-based PDF page number to sign.
boxX number Optional 0.58 0 – 1 Signature left coordinate from 0 to 1.
boxY number Optional 0.72 0 – 1 Signature top coordinate from 0 to 1.
boxWidth number Optional 0.28 0.08 – 0.75 Signature width from 0 to 1.

Ausgabe

Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.

Typfiles
Dateianzahl1 – 1
Ausgabe-MIMEapplication/pdf
MetadatapageCount, inputBytes, outputBytes, outputCount
ZIP-ArchivNicht unterstützt

Grundlegende Verwendung

Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.

Headless

const result = await client.run("pdf-signature", {
  file,
  options: { page: 1, boxX: 0.58, boxY: 0.72, boxWidth: 0.28 }
});
console.log(result.files, result.data, result.metadata);

Interactive

await client.open({
  tool: "pdf-signature",
  input: { file },
  options: { page: 1, boxX: 0.58, boxY: 0.72, boxWidth: 0.28 },
  onComplete(result) { console.log(result.files, result.data, result.metadata); }
});

Embedded

await client.mount({ tool: "pdf-signature", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.