PPT
PPTX
ODP
POT
ppsx
PPTX
Unlock PPTX using C++
Build your own C++ apps to remove passwords from PowerPoint and decrypt presentations files using server-side APIs.
Removing Encryption from PPTX Presentation via C++
Using Aspose.Slides for C++, you can remove the encryption or password protection on the PPTX presentation. This way, users become able to access or modify the PPTX presentation without restrictions.
Disabling Password Protection from PPTX using C++
auto loadOptions = System::MakeObject<LoadOptions>();
loadOptions->set_Password(u"123123");
auto presentation = System::MakeObject<Presentation>(u"pres.pptx", loadOptions);
presentation->get_ProtectionManager()->RemoveEncryption();
presentation->Save(u"encryption-removed.pptx", SaveFormat::Pptx);
Removing Write Protection from PPTX Presentation using C++
auto presentation = System::MakeObject<Presentation>(u"pres.pptx");
presentation->get_ProtectionManager()->RemoveWriteProtection();
presentation->Save(u"write-protection-removed.pptx", SaveFormat::Pptx);
How to Remove Password From PPTX via C++
These are the steps to remove protection from PPTX files.
Load PPTX with an instance of Presentation
Remove Write Protection using ProtectionManager class
Save result in PPTX format