Aspose::Cells::Workbook::Protect method
Workbook::Protect(ProtectionType, const U16String&) method
Protects a workbook.
void Aspose::Cells::Workbook::Protect(ProtectionType protectionType, const U16String &password)
Parameter | Type | Description |
---|---|---|
protectionType | ProtectionType | Protection type. |
password | const U16String& | Password to protect the workbook. |
See Also
- Class Vector
- Enum ProtectionType
- Class U16String
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::Protect(ProtectionType, const char16_t*) method
Protects a workbook.
void Aspose::Cells::Workbook::Protect(ProtectionType protectionType, const char16_t *password)
Parameter | Type | Description |
---|---|---|
protectionType | ProtectionType | Protection type. |
password | const char16_t* | Password to protect the workbook. |
See Also
- Class Vector
- Enum ProtectionType
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++