RemoveWriteProtection
ProtectionManager.RemoveWriteProtection method
移除此演示文稿的写保护。
public void RemoveWriteProtection()
示例
这段示例代码演示了如何从 PowerPoint 演示文稿中移除写保护。
[C#]
using (Presentation presentation = new Presentation("pres.pptx"))
{
presentation.ProtectionManager.RemoveWriteProtection();
presentation.Save("write-protection-removed.pptx", SaveFormat.Pptx);
}
另请参阅
- class ProtectionManager
- namespace Aspose.Slides
- assembly Aspose.Slides