IsPasswordProtected
PresentationInfo.IsPasswordProtected-Eigenschaft
Gibt einen Wert zurück, der angibt, ob eine gebundene Präsentation durch ein Passwort zum Öffnen geschützt ist.
public bool IsPasswordProtected { get; }
Beispiele
[C#]
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo(presentationFilePath);
if (info.IsPasswordProtected)
{
Console.WriteLine("Die Präsentation '" + presentationFilePath + "' ist durch ein Passwort zum Öffnen geschützt.");
}
Siehe auch
- Klasse PresentationInfo
- Namespace Aspose.Slides
- Assembly Aspose.Slides