MergerAddPassword Method
Protects document with password.

Namespace: GroupDocs.Merger
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 20.9.0.0
Syntax
public void AddPassword(
	IAddPasswordOptions addPasswordOptions
)

Parameters

addPasswordOptions
Type: GroupDocs.Merger.Domain.OptionsIAddPasswordOptions
The options for specifying the password.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when addPasswordOptions is null.
Remarks
Learn more
See Also