# Buka Kunci File Presentasi ODP menggunakan C++

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

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



## Menghapus Enkripsi dari Presentasi ODP melalui C++

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

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

```cpp

auto loadOptions = System::MakeObject<LoadOptions>();
loadOptions->set_Password(u"123123");

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

presentation->get_ProtectionManager()->RemoveEncryption();
presentation->Save(u"encryption-removed.odp", SaveFormat::Odp);
```

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

```cpp

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

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

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

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

Muat ODP dengan contoh Presentasi

Hapus Write Protection menggunakan kelas ProtectionManager

Simpan hasil dalam format ODP

## Format lain yang Didukung
