Diese Klassen verwalten Folien‑bezogene Kommentare und deren Autoren. Auf die Kommentarautoren kann zugegriffen werden über Presentation.CommentAuthors und pro‑Folie‑Kommentare über Slide.GetSlideComments().
Enumerations: Aspose.Slides.Foss (net9.0)
Enumerations
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Text | string | Enumerations | Kommentartext. |
CreatedTime | DateTime? | Enumerations | Erstellungszeitpunkt des Kommentars. |
Slide | ISlide | Enumerations | Folie, zu der der Kommentar gehört. |
Author | ICommentAuthor | Enumerations | Autor des Kommentars. |
Position | PointF | Enumerations | Position auf der Folie. |
ParentComment | IComment? | Enumerations | Übergeordneter Kommentar für verschachtelte Antworten. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Diesen Kommentar entfernen. |
CommentAuthor
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Name | string | Enumerations | Anzeigename des Autors. |
Initials | string | Enumerations | Autorinitialen. |
Comments | ICommentCollection | Enumerations | Alle Kommentare dieses Autors. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Diesen Autor und seine Kommentare entfernen. |
CommentAuthorCollection
Zugriff über Presentation.CommentAuthors.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Anzahl der Autoren. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddAuthor(string name, string initials) | ICommentAuthor | Einen neuen Kommentarautor hinzufügen. |
FindByName(string name) | ICommentAuthor[] | Autoren nach Namen suchen. |
FindByNameAndInitials(string name, string initials) | ICommentAuthor[] | Nach Namen und Initialen suchen. |
RemoveAt(int index) | void | Den Autor am angegebenen Index entfernen. |
Remove(ICommentAuthor author) | void | Einen bestimmten Autor entfernen. |
Clear() | void | Alle Autoren entfernen. |
ToArray() | ICommentAuthor[] | Gib alle Autoren als Array zurück. |
CommentCollection
Zugriff über CommentAuthor.Comments.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Anzahl der Kommentare. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddComment(string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Füge einen Kommentar zu einer Folie hinzu. |
InsertComment(int index, string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Füge einen Kommentar an einem bestimmten Index ein. |
FindCommentByIdx(int idx) | IComment | Finde einen Kommentar nach Index. |
RemoveAt(int index) | void | Entferne Kommentar am Index. |
Remove(IComment comment) | void | Entferne einen bestimmten Kommentar. |
Clear() | void | Entferne alle Kommentare. |
ToArray() | IComment[] | Gib alle Kommentare als Array zurück. |
Anwendungsbeispiele
Kommentar hinzufügen
Kommentare lesen
Siehe auch