Tyto třídy spravují komentáře na úrovni snímků a jejich autory. Přístup k autorům komentářů přes Presentation.CommentAuthors a ke komentářům na jednotlivých snímcích přes Slide.GetSlideComments().
Enumerations: Aspose.Slides.Foss (net9.0)
Enumerations
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Text | string | Enumerations | Text komentáře. |
CreatedTime | DateTime? | Enumerations | Kdy byl komentář vytvořen. |
Slide | ISlide | Enumerations | Snímek, ke kterému komentář patří. |
Author | ICommentAuthor | Enumerations | Autor komentáře. |
Position | PointF | Enumerations | Pozice na snímku. |
ParentComment | IComment? | Enumerations | Nadřazený komentář pro vlákna odpovědí. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Odstranit tento komentář. |
CommentAuthor
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Name | string | Enumerations | Zobrazované jméno autora. |
Initials | string | Enumerations | Iniciály autora. |
Comments | ICommentCollection | Enumerations | Všechny komentáře tohoto autora. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Odstranit tohoto autora a jeho komentáře. |
CommentAuthorCollection
Přístupné přes Presentation.CommentAuthors.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Počet autorů. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddAuthor(string name, string initials) | ICommentAuthor | Přidejte nového autora komentáře. |
FindByName(string name) | ICommentAuthor[] | Najděte autory podle jména. |
FindByNameAndInitials(string name, string initials) | ICommentAuthor[] | Najděte podle jména a iniciál. |
RemoveAt(int index) | void | Odstraňte autora na zadaném indexu. |
Remove(ICommentAuthor author) | void | Odstranit konkrétního autora. |
Clear() | void | Odstranit všechny autory. |
ToArray() | ICommentAuthor[] | Vrátit všechny autory jako pole. |
CommentCollection
Přístup přes CommentAuthor.Comments.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Počet komentářů. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddComment(string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Přidat komentář k snímku. |
InsertComment(int index, string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Vložit komentář na konkrétní index. |
FindCommentByIdx(int idx) | IComment | Najít komentář podle indexu. |
RemoveAt(int index) | void | Odstranit komentář na indexu. |
Remove(IComment comment) | void | Odstranit konkrétní komentář. |
Clear() | void | Odstranit všechny komentáře. |
ToArray() | IComment[] | Vrátit všechny komentáře jako pole. |
Příklady použití
Přidat komentář
Číst komentáře
Viz také