## Workbook::SetEncryptionOptions method


Set Encryption Options.

```cpp
void Aspose::Cells::Workbook::SetEncryptionOptions(EncryptionType encryptionType, int32_t keyLength)
```


| Parameter | Type | Description |
| --- | --- | --- |
| encryptionType | EncryptionType | The encryption type. |
| keyLength | int32_t | The key length. |

## See Also

* Class [Vector](../../vector/)
* Enum [EncryptionType](../../encryptiontype/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
