←Select platform

MaximumPasswordLength Field

Summary

Gets the maximum size of a PDF password.

Syntax

C#
VB
Java
C++
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.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly