Alle Tools›Protect PDF
PDF-Tools

Protect PDF

protect-pdf

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

H · HeadlessE · Embedded
Tool-IDprotect-pdf
Version1
AusführungCLIENT
ModiHeadless, 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
password string Erforderlich — — Password required to open the protected PDF. Minimum 4 characters.

Ausgabe

Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.

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

Grundlegende Verwendung

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

Headless

const result = await client.run("protect-pdf", {
  file,
  options: { password: "value" }
});
console.log(result.files, result.data, result.metadata);

Embedded

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