RemoveWriteProtection()

ProtectionManager::RemoveWriteProtection() method

Removes write protection for this presentation.

void Aspose::Slides::ProtectionManager::RemoveWriteProtection() override

Remarks

This sample code shows you how to remove the write protection from a PowerPoint Presentation.

auto presentation = System::MakeObject<Presentation>(u"pres.pptx");
presentation->get_ProtectionManager()->RemoveWriteProtection();
presentation->Save(u"write-protection-removed.pptx", SaveFormat::Pptx);

See Also