Skip to content

Implement Presentation.AutoSaveOn property in PowerPointApi #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Source/PowerPoint/DispatchInterfaces/_Presentation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,28 @@ public NetOffice.PowerPointApi.Guides Guides
return Factory.ExecuteKnownReferencePropertyGet<NetOffice.PowerPointApi.Guides>(this, "Guides", NetOffice.PowerPointApi.Guides.LateBindingApiWrapperType);
}
}

/// <summary>
/// True if the edits in the Presentation are automatically saved. Read/write Boolean.
///
/// SupportByVersion PowerPoint 16
/// Get/Set
/// </summary>
/// <remarks> Docs: <see href="https://learn.microsoft.com/fr-fr/office/vba/api/powerpoint.presentation.autosaveon"/> </remarks>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the link to the English documentation.

[SupportByVersion("PowerPoint", 16)]
public bool AutoSaveOn
{
get
{
return Factory.ExecuteBoolPropertyGet(this, "AutoSaveOn");
}
set
{
Factory.ExecuteValuePropertySet(this, "AutoSaveOn", value);
}
}



#endregion

Expand Down