←Select platform

MaximumPasswordLength Field

Summary
Gets the maximum size of a PDF password.
Syntax
C#
VB
C++
Java
public static readonly int MaximumPasswordLength 
Public Shared ReadOnly MaximumPasswordLength As Integer 
public static final int MAXIMUM_PASSWORD_LENGTH = 64; 
public: 
static readonly int MaximumPasswordLength 

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 21.0.2021.7.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.