←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
MAXIMUMPASSWORDLENGTH
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Pdf Assembly
Click or drag to resize