# Buka Kunci File Presentasi PPT menggunakan C++

> kode sumber C++ untuk menghapus perlindungan dari Presentasi PPT.

Source: https://products.aspose.com/slides/id/cpp/unlock/ppt/
Updated: 2023-06-07



## Menghapus Enkripsi dari Presentasi PPT melalui C++

Dengan menggunakan Aspose.Slides for C++, Anda dapat menghapus enkripsi atau perlindungan sandi pada presentasi PPT. Dengan cara ini, pengguna dapat mengakses atau memodifikasi presentasi PPT tanpa batasan.

### Menonaktifkan Perlindungan Kata Sandi dari PPT menggunakan C++

```cpp

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);
```

### Menghapus Write Protection dari Presentasi PPT menggunakan C++

```cpp

auto presentation = System::MakeObject<Presentation>(u"pres.ppt");

presentation->get_ProtectionManager()->RemoveWriteProtection();
presentation->Save(u"write-protection-removed.ppt", SaveFormat::Ppt);
```

## Cara Menghapus Kata Sandi Dari PPT melalui C++

Ini adalah langkah-langkah untuk menghapus perlindungan dari file PPT.

Muat PPT dengan contoh Presentasi

Hapus Write Protection menggunakan kelas ProtectionManager

Simpan hasil dalam format PPT

## Format lain yang Didukung
