Class DocumentSaveOptions
Options used when saving a document.
Inheritance
DocumentSaveOptions
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class DocumentSaveOptions : SaveOptions
Properties
DigitalSignatures
Digital signatures to apply when saving the document.
Declaration
public IList<DocxDigitalSignatureSaveOptions> DigitalSignatures { get; }
Property Value
| Type | Description |
|---|---|
| IList<DocxDigitalSignatureSaveOptions> |
Encryption
Gets or sets typed password-encryption settings for DOCX output.
Declaration
public DocxEncryptionOptions Encryption { get; set; }
Property Value
| Type | Description |
|---|---|
| DocxEncryptionOptions |
EncryptionMode
Gets or sets the encryption mode to use when saving. The default is None.
Declaration
public DocxEncryptionMode EncryptionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| DocxEncryptionMode |
EncryptionOptions
Gets or sets typed password-encryption settings for DOCX output. This is an alias for Encryption.
Declaration
public DocxEncryptionOptions EncryptionOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| DocxEncryptionOptions |
Password
Gets or sets the password used to encrypt the document on save. When set to a non-empty value together with EncryptionMode set to a supported value, the document is encrypted using the selected ECMA-376 encryption mode.
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |