CommentAuthorsPart

CommentAuthorsPart

Overview

CommentAuthorsPart is a class in Aspose.Slides FOSS for .NET.

Manages the comment authors XML part ( ppt/commentAuthors.xml ). This part holds all author definitions used across the presentation’s comments.

This class provides 8 methods for working with CommentAuthorsPart objects in .NET programs. Available methods include: AddAuthor, Clear, FindAuthorById, GetAuthors, Load, NextCommentIdx, RemoveAuthor, Save. All exported members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: PartName.

Description

CommentAuthorsPart is a class in the Aspose.Slides FOSS library for .NET that exposes 8 methods and 1 property for programmatic use.

The class also provides the PartName property (gets the part name).

Properties

NameTypeAccessDescription
PartNamestringReadGets the part name.

Methods

SignatureDescription
Load()Loads the comment authors XML from the package, or creates an empty root element.
GetAuthors()Returns all comment authors.
FindAuthorById(authorId: int)The or null if not found.
AddAuthor(name: string, initials: string)The author’s initials.
RemoveAuthor(authorId: int)The author ID to remove.
Clear()Removes all author elements.
NextCommentIdx(authorId: int)The new globally-unique comment index.
Save()Saves the comment authors XML back to the package.

See Also