get_IsWriteProtected()
PresentationInfo::get_IsWriteProtected() method
Gets a value that indicates whether a binded presentation is write protected.
NullableBool Aspose::Slides::PresentationInfo::get_IsWriteProtected() override
Remarks
auto info = PresentationFactory::get_Instance()->GetPresentationInfo(presentationFilePath);
if (info->get_IsWriteProtected() == Aspose::Slides::NullableBool::True)
{
System::Console::WriteLine(System::String(u"The presentation '") + presentationFilePath + u"' is write protected by a password.");
}
If the presentation is protected by a password to open, the property value equals NotDefined.
See Also
- Enum NullableBool
- Class PresentationInfo
- Namespace Aspose::Slides
- Library Aspose.Slides