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

Leadtools.Pdf Assembly