←Select platform

MaximumPasswordLength Field

Summary
Gets the maximum size of a PDF password.
Syntax
C#
C++/CLI
Java
Python
public static readonly int MaximumPasswordLength 
public static final int MAXIMUM_PASSWORD_LENGTH = 64; 
public: 
static readonly int MaximumPasswordLength 
MaximumPasswordLength (PDFDocument) 

Field Value

The maximum size of a PDF password, which at most is 64 characters.

Remarks

When encrypting PDF files with a password, the maximum length of the characters in the password must not exceed 64. LEADTOOLS will automatically truncate the values passed to PDFFile(string fileName, string password), PDFFile.Password and PDFDocument(string fileName, string password).

Requirements

Target Platforms

Help Version 22.0.2023.7.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.