## Workbook.SetEncryptionOptions method

Ställ in krypteringsalternativ.

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

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| encryptionType | EncryptionType | Krypteringstypen. |
| keyLength | Int32 | Nyckellängden. |

### Se även

* enum [EncryptionType](../../encryptiontype)
* class [Workbook](../../workbook)
* namnutrymme [Aspose.Cells](../../workbook)
* hopsättning [Aspose.Cells](../../../)

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