AddPassword
Merger.AddPassword method
Protects document with password.
public IMerger AddPassword(IAddPasswordOptions addPasswordOptions)
Parameter | Type | Description |
---|---|---|
addPasswordOptions | IAddPasswordOptions | The options for specifying the password. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when addPasswordOptions is null. |
Remarks
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
See Also
- interface IMerger
- interface IAddPasswordOptions
- class Merger
- namespace GroupDocs.Merger
- assembly GroupDocs.Merger