set_ReadOnlyRecommended()

IProtectionManager::set_ReadOnlyRecommended(bool) method

Sets read-only recommendation. Write bool.

virtual void Aspose::Slides::IProtectionManager::set_ReadOnlyRecommended(bool value)=0

Remarks

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

See Also