get_IsPasswordProtected()
PresentationInfo::get_IsPasswordProtected() method
Gets a value that indicates whether a binded presentation is protected by a password to open.
bool Aspose::Slides::PresentationInfo::get_IsPasswordProtected() override
Remarks
auto info = PresentationFactory::get_Instance()->GetPresentationInfo(presentationFilePath);
if (info->get_IsPasswordProtected())
{
System::Console::WriteLine(System::String(u"The presentation '") + presentationFilePath + u"' is protected by password to open.");
}
See Also
- Class PresentationInfo
- Namespace Aspose::Slides
- Library Aspose.Slides