DocSaveOptions.Password
DocSaveOptions Password property. Gets/sets a password to encrypt document using RC4 encryption method.
DocSaveOptions.Password property
Gets/sets a password to encrypt document using RC4 encryption method.
public string Password { get; set; }
Remarks
In order to save document without encryption this property should be null
or empty string.
Examples
Shows how to specify encryption password in DOC save options.
DocSaveOptions docSaveOptions = new DocSaveOptions();
docSaveOptions.Password = "1234";
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "DocSaveOptions.Password.doc", docSaveOptions)
.Execute();
See Also
- class DocSaveOptions
- namespace Wordize.Saving
- assembly Wordize