##  set_encryption_options(self, encryption_type, key_length) {#aspose.cells.EncryptionType-int}
设置加密选项。



```python

def set_encryption_options(self, encryption_type, key_length):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| encryption_type | [`EncryptionType`](/cells/python-net/zh/aspose.cells/encryptiontype) |加密类型。|
| key_length | int |密钥长度。|



### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`Workbook`](/cells/python-net/zh/aspose.cells/workbook)
