RemoveWriteProtection
ProtectionManager.RemoveWriteProtection method
Supprime la protection en écriture de cette présentation.
public void RemoveWriteProtection()
Exemples
Ce code exemple vous montre comment supprimer la protection en écriture d’une présentation PowerPoint.
[C#]
using (Presentation presentation = new Presentation("pres.pptx"))
{
presentation.ProtectionManager.RemoveWriteProtection();
presentation.Save("write-protection-removed.pptx", SaveFormat.Pptx);
}
Voir Aussi
- class ProtectionManager
- namespace Aspose.Slides
- assembly Aspose.Slides