get_IsPasswordProtected()

IVbaProject::get_IsPasswordProtected() method

Indicates whether the VBAProject is protected by a password to view project properties. Read-only bool.

virtual bool Aspose::Slides::Vba::IVbaProject::get_IsPasswordProtected()=0

Remarks

auto presentation = System::MakeObject<Presentation>(path + u"demo.pptm");

if (presentation->get_VbaProject()->get_IsPasswordProtected())
{
    System::Console::WriteLine(System::String(u"The VBAProject '") + presentation->get_VbaProject()->get_Name() + u"' is protected by password to view project properties.");
}

See Also