RemoveWriteProtection

ProtectionManager.RemoveWriteProtection method

Elimina la protección contra escritura de esta presentación.

public void RemoveWriteProtection()

Examples

Este código de ejemplo te muestra cómo eliminar la protección contra escritura de una presentación de PowerPoint.

[C#]
using (Presentation presentation = new Presentation("pres.pptx"))
{
    presentation.ProtectionManager.RemoveWriteProtection();
    presentation.Save("write-protection-removed.pptx", SaveFormat.Pptx);
}

See Also