get_Password()

LoadOptions::get_Password() method

Gets the password. Read System::String.

System::String Aspose::Slides::LoadOptions::get_Password() override

Remarks

The password.

The following sample code shows how to open password protected PowerPoint Presentation.

System::SharedPtr<LoadOptions> loadOptions = System::MakeObject<LoadOptions>();
loadOptions->set_Password(u"YOUR_PASSWORD");
auto presentation = System::MakeObject<Presentation>(u"pres.pptx", loadOptions);
// work with decrypted presentation

See Also