get_ReadOnlyRecommended()

ProtectionManager::get_ReadOnlyRecommended() method

Gets read-only recommendation. Read bool.

bool Aspose::Slides::ProtectionManager::get_ReadOnlyRecommended() override

Remarks

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

auto pres = System::MakeObject<Presentation>();
pres->get_ProtectionManager()->set_ReadOnlyRecommended(true);
pres->Save(u"ReadOnlyPresentation.pptx", SaveFormat::Pptx);

See Also