Skip to content

Commit 680f81c

Browse files
authored
Implement Presentation.AutoSaveOn property in PowerPointApi (#439)
2 parents e7d8040 + 58af5b5 commit 680f81c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Source/PowerPoint/DispatchInterfaces/_Presentation.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,28 @@ public NetOffice.PowerPointApi.Guides Guides
12721272
return Factory.ExecuteKnownReferencePropertyGet<NetOffice.PowerPointApi.Guides>(this, "Guides", NetOffice.PowerPointApi.Guides.LateBindingApiWrapperType);
12731273
}
12741274
}
1275+
1276+
/// <summary>
1277+
/// True if the edits in the Presentation are automatically saved. Read/write Boolean.
1278+
///
1279+
/// SupportByVersion PowerPoint 16
1280+
/// Get/Set
1281+
/// </summary>
1282+
/// <remarks> Docs: <see href="https://learn.microsoft.com/en-us/office/vba/api/powerpoint.presentation.autosaveon"/> </remarks>
1283+
[SupportByVersion("PowerPoint", 16)]
1284+
public bool AutoSaveOn
1285+
{
1286+
get
1287+
{
1288+
return Factory.ExecuteBoolPropertyGet(this, "AutoSaveOn");
1289+
}
1290+
set
1291+
{
1292+
Factory.ExecuteValuePropertySet(this, "AutoSaveOn", value);
1293+
}
1294+
}
1295+
1296+
12751297

12761298
#endregion
12771299

0 commit comments

Comments
 (0)