Aspose::Cells::Workbook::Protect method

Workbook::Protect(ProtectionType, const U16String&) method

Protects a workbook.

void Aspose::Cells::Workbook::Protect(ProtectionType protectionType, const U16String &password)
ParameterTypeDescription
protectionTypeProtectionTypeProtection type.
passwordconst U16String&Password to protect the workbook.

See Also

Workbook::Protect(ProtectionType, const char16_t*) method

Protects a workbook.

void Aspose::Cells::Workbook::Protect(ProtectionType protectionType, const char16_t *password)
ParameterTypeDescription
protectionTypeProtectionTypeProtection type.
passwordconst char16_t*Password to protect the workbook.

See Also