AddPassword
Leave feedback
On this page
Protects document with password.
public IMerger AddPassword(IAddPasswordOptions addPasswordOptions)
| Parameter | Type | Description |
|---|---|---|
| addPasswordOptions | IAddPasswordOptions | The options for specifying the password. |
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when addPasswordOptions is null. |
Learn more
- More about how to protect document with password: How to protect PDF, Word, Excel and PowerPoint documents with password
- More about how to update or change document password: How to change document password
- More about how to check document password protected or not: How to check document password protection
- More about how to remove document password: How to remove PDF, Word, Excel and PowerPoint documents password
- interface IMerger
- interface IAddPasswordOptions
- class Merger
- namespace GroupDocs.Merger
- assembly GroupDocs.Merger
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.