User password value to be used in the resulting PDF document.
public string UserPassword { get; set; }
Public Property UserPassword As String
@property (nonatomic, copy, nullable) NSString *userPassword
public String getUserPassword()
public void setUserPassword(String userPassword)
A String that contains the user password value to be used. To reset the user password, use either an empty string or null. Default value is null.
The user password is used by PDF viewers to grant or deny viewing the PDF document. For more information, refer to the Protected property.
The UserPassword property is only used when the Protected property is set to true.
Important: UserPassword and OwnerPassword will internally be converted to an ASCII string due to the specifications of the PDF format.
Note that UserPassword is not supported when DocumentType is PdfDocumentType.PdfA.
Programming with LEADTOOLS Document Writers
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document