←Select platform

Password Property

Summary
Gets or sets the optional password associated with this PDFPageRange.
Syntax
C#
VB
C++
Java
public string Password { get; set; } 
Public Property Password As String 
public String getPassword(); 
public void setPassword( 
   java.lang.String string 
); 
public: 
property String^ Password { 
   String^ get(); 
   void set (    String^ ); 
} 

Property Value

A System.String that contains the optional password for decrypting the source file that contains the pages to merge using PDFFile.MergeFiles.

Remarks

This property is used only if PDFPageRange.FileName is not null. If PDFPageRange.FileName is null, PDFFile.Password is used instead.

This property should be set only if the source file indicated by PDFPageRange.FileName is encrypted. Use IsEncrypted to determine whether the PDF file is encrypted and requires a password.

Example

For an example, refer to PDFFile.MergeFiles.

Requirements

Target Platforms

See Also

Help Version 22.0.2021.10.28
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.