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

ParameterTypeDescription
nameSystem::StringName of a new author.
initialsSystem::StringInitials of a new author.

Return Value

New ICommentAuthor object.

Exceptions

ExceptionDescription
Aspose::Slides::PptxEditExceptionThrown if author with the same name and initials is already added.

See Also