ReadOnlyRecommended

ProtectionManager.ReadOnlyRecommended property

Gets or sets read-only recommendation. Read/write Boolean.

public bool ReadOnlyRecommended { get; set; }

Examples

The following sample code shows you how to set a PowerPoint Presentation to Read-Only in C# using Aspose.Slides.

[C#]
using (Presentation pres = new Presentation())
{
	pres.ProtectionManager.ReadOnlyRecommended = true;
	pres.Save("ReadOnlyPresentation.pptx", SaveFormat.Pptx);
}

See Also