From 46d33a987f8c45618ea8f4189f9432d5b852804b Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Wed, 1 May 2024 17:16:32 +0200 Subject: [PATCH] Implement the `Presentation.ReadOnlyRecommended` property for PowerPoint app #411 --- .../DispatchInterfaces/_Presentation.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Source/PowerPoint/DispatchInterfaces/_Presentation.cs b/Source/PowerPoint/DispatchInterfaces/_Presentation.cs index d806124403..b80b61b6b6 100644 --- a/Source/PowerPoint/DispatchInterfaces/_Presentation.cs +++ b/Source/PowerPoint/DispatchInterfaces/_Presentation.cs @@ -409,6 +409,23 @@ public NetOffice.OfficeApi.Enums.MsoTriState ReadOnly } } + /// + /// When you open a presentation that was saved as read-only recommended, Microsoft PowerPoint displays a message recommending that you open the presentation as read-only. + /// + /// Use the SaveCopyAs2 method to change this property. + /// + /// SupportByVersion PowerPoint 16 + /// + /// Docs: + [SupportByVersion("PowerPoint", 16)] + public NetOffice.OfficeApi.Enums.MsoTriState ReadOnlyRecommended + { + get + { + return Factory.ExecuteEnumPropertyGet(this, "ReadOnlyRecommended"); + } + } + /// /// SupportByVersion PowerPoint 9, 10, 11, 12, 14, 15, 16 /// Get