User password value to be used in the resulting PDF document.
Object.defineProperty(PdfDocumentOptions.prototype, 'userPassword',
get: function(),
set: function(value)
)
userPassword: string;
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 IsProtected property.
The UserPassword property is only used when the IsProtected 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET