IsPasswordProtected
VbaProject.IsPasswordProtected property
Indicates whether the VBAProject is protected by a password to view project properties. Read-only Boolean.
public bool IsPasswordProtected { get; }
Examples
[C#]
using (var presentation = new Presentation(path + "demo.pptm"))
{
if (presentation.VbaProject.IsPasswordProtected)
Console.WriteLine("The VBAProject '" + presentation.VbaProject.Name +
"' is protected by password to view project properties.");
}
See Also
- class VbaProject
- namespace Aspose.Slides.Vba
- assembly Aspose.Slides