##  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/ar/aspose.cells/encryptiontype) | نوع التشفير.|
| key_length | int | طول المفتاح.|



###  أنظر أيضا
* الوحدة [`aspose.cells`](../../)
* فئة [`Workbook`](/cells/python-net/ar/aspose.cells/workbook)
