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.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PartName | string | Read | Gets the name of the part within the package |
Methods
| Signature | Description |
|---|---|
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. |