AddAuthor()
ICommentAuthorCollection::AddAuthor(System::String, System::String) method
Add new author at the end of a collection.
virtual System::SharedPtr<ICommentAuthor> Aspose::Slides::ICommentAuthorCollection::AddAuthor(System::String name, System::String initials)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| name | System::String | Name of a new author. |
| initials | System::String | Initials of a new author. |
Return Value
New ICommentAuthor object.
Exceptions
| Exception | Description |
|---|---|
| Aspose::Slides::PptxEditException | Thrown if author with the same name and initials is already added. |
See Also
- Typedef SharedPtr
- Class ICommentAuthor
- Class String
- Class ICommentAuthorCollection
- Namespace Aspose::Slides
- Library Aspose.Slides