PPT
PPTX
ODP
PDF
ODP
ODP
Remove Comments & Comment Authors from ODP in C#
Build .NET applications that manipulate comments and authors in presentation files using server-side APIs.
Remove Comments from ODP via C#
Use
Aspose.Slides for .NET
to remove comments and comment authors from ODP presentation files. The example below clears each author’s Comments collection and then clears the presentation CommentAuthors collection.
Delete Annotations from ODP - C#
using var presentation = new Presentation("example.odp");
foreach (var commentAuthor in presentation.CommentAuthors)
{
commentAuthor.Comments.Clear();
}
presentation.CommentAuthors.Clear();
presentation.Save("example_out.odp", SaveFormat.Odp);
How to Remove Comments from ODP via C#
Install Aspose.Slides for .NET. See Installation .
Load the
ODPfile with thePresentationclass.Iterate through the
CommentAuthorscollection.Clear the
Commentscollection for each comment author.Clear the
CommentAuthorscollection.