LoadOptions.Password
LoadOptions Password property. Gets or sets the password for opening an encrypted document. Can be null or empty string. Default is null.
LoadOptions.Password property
Gets or sets the password for opening an encrypted document. Can be null
or empty string. Default is null
.
public string Password { get; set; }
Remarks
You need to know the password to open an encrypted document. If the document is not encrypted, set this to null
or empty string.
Examples
Shows how to convert password encrypted document.
LoadOptions loadOptions = new LoadOptions();
loadOptions.Password = "wordize";
Converter.Create()
.From(MyDir + "SimpleEncrypted.docx", loadOptions)
.To(ArtifactsDir + "LoadOptions.Password.pdf")
.Execute();
See Also
- class LoadOptions
- namespace Wordize.Loading
- assembly Wordize