Password
Leave feedback
On this page
Gets or sets the password for opening an encrypted document.
public string Password { get; set; }
The password for opening an encrypted document.
The password be null or empty string. The default value is null. If the content is not encrypted, set this to null or empty string.
Load a content protected with a password.
LoadOptions loadOptions = new LoadOptions
{
Password = "pwd123"
};
using (Watermarker watermarker = new Watermarker(@"D:\doc.vsdx", loadOptions))
{
// ...
}
- class LoadOptions
- namespace GroupDocs.Watermark.Options
- assembly GroupDocs.Watermark
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.