Toutes les Tools›Sign PDF
Outils PDF

Sign PDF

pdf-signature

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

H · HeadlessI · InteractiveE · Embedded
ID Toolpdf-signature
Version1
ExécutionCLIENT
ModesHeadless, Interactive, Embedded

Accès rapide

Fichiers d’entrée 1Fichiers de sortie 1

Entrée

Formats d’entrée et nombre de fichiers acceptés par cette Tool.

Type d’entréefile
Nombre de fichiers1 – 1
MIME acceptésapplication/pdf

Paramètres

Transmettez ces valeurs via request.options.

Paramètre Type Obligatoire Par défaut Valeurs / Plage Description
page integer Optionnel 1 1 – ∞ 1-based PDF page number to sign.
boxX number Optionnel 0.58 0 – 1 Signature left coordinate from 0 to 1.
boxY number Optionnel 0.72 0 – 1 Signature top coordinate from 0 to 1.
boxWidth number Optionnel 0.28 0.08 – 0.75 Signature width from 0 to 1.

Sortie

Format du résultat renvoyé après traitement.

Typefiles
Nombre de fichiers1 – 1
MIME de sortieapplication/pdf
MetadatapageCount, inputBytes, outputBytes, outputCount
Archive ZIPNon pris en charge

Utilisation de base

Choisissez un mode pris en charge et copiez le code de démarrage généré.

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.