IsWriteProtected
IPresentationInfo.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. See NullableBool
enumeration.
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
- interface IPresentationInfo
- namespace Aspose.Slides
- assembly Aspose.Slides