IsWriteProtected
PresentationInfo.IsWriteProtected property
Gets a value that indicates whether a binded presentation is write protected.
public NullableBool IsWriteProtected { get; }
Remarks
If the presentation is protected by a password to open, the property value equals NotDefined.
Examples
[C#]
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo(presentationFilePath);
if (info.IsWriteProtected == NullableBool.True)
{
Console.WriteLine("The presentation '" + presentationFilePath + "' is write protected by a password.");
}
See Also
- enum NullableBool
- class PresentationInfo
- namespace Aspose.Slides
- assembly Aspose.Slides