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