Method Open

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

Open(string, string?)

Opens a PDF form for filling.

public static PdfFormFiller Open(string path, string? password = null)

Parameters

path string

The PDF file.

password string

For encrypted files, the user or owner password.

Returns

PdfFormFiller

Exceptions

InvalidOperationException

The PDF has no interactive form.

NotSupportedException

The PDF needed repair to open.

UnauthorizedAccessException

The PDF's permissions do not allow filling forms; open it with the owner password.

PdfPasswordException

The file is encrypted and the password is missing or wrong.