Click or drag to resize

PdfLoadOptionsPassword Property

Gets or sets the password used to load a PDF document from a password-encrypted PDF file.

If PDF file is not encrypted, then this property is ignored.

If PDF file is encrypted and Password is invalid, then InvalidPdfPasswordException is thrown when loading a PDF document.


Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public string Password { get; set; }

Property Value

String
The password used to load a PDF document from a password-encrypted PDF file.
Exceptions
ExceptionCondition
ArgumentNullExceptionValue is .
See Also