## Workbook.SetEncryptionOptions method

设置加密选项。

```csharp
public void SetEncryptionOptions(EncryptionType encryptionType, int keyLength)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| encryptionType | EncryptionType | 加密类型。 |
| keyLength | Int32 | 密钥长度。 |

### 也可以看看

* enum [EncryptionType](../../encryptiontype)
* class [Workbook](../../workbook)
* 命名空间 [Aspose.Cells](../../workbook)
* 部件 [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
