Disse klasser håndterer kommentarer på slide‑niveau og deres forfattere. Få adgang til kommentarforfattere via Presentation.CommentAuthors og per‑slide kommentarer via Slide.GetSlideComments().
Enumerations: Aspose.Slides.Foss (net9.0)
Enumerations
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Text | string | Enumerations | Kommentartekst. |
CreatedTime | DateTime? | Enumerations | Hvornår kommentaren blev oprettet. |
Slide | ISlide | Enumerations | Slide som kommentaren tilhører. |
Author | ICommentAuthor | Enumerations | Forfatter af kommentaren. |
Position | PointF | Enumerations | Position på sliden. |
ParentComment | IComment? | Enumerations | Overordnet kommentar for trådet svar. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Fjern denne kommentar. |
CommentAuthor
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Name | string | Enumerations | Forfatters visningsnavn. |
Initials | string | Enumerations | Forfatters initialer. |
Comments | ICommentCollection | Enumerations | Alle kommentarer fra denne forfatter. |
Enumerations
| Enumerations | Enumerations |
|---|
Remove() | Fjern denne forfatter og deres kommentarer. |
CommentAuthorCollection
Tilgået via Presentation.CommentAuthors.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Antal forfattere. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddAuthor(string name, string initials) | ICommentAuthor | Tilføj en ny kommentarforfatter. |
FindByName(string name) | ICommentAuthor[] | Find forfattere efter navn. |
FindByNameAndInitials(string name, string initials) | ICommentAuthor[] | Find efter navn og initialer. |
RemoveAt(int index) | void | Fjern forfatteren på det angivne indeks. |
Remove(ICommentAuthor author) | void | Fjern en specifik forfatter. |
Clear() | void | Fjern alle forfattere. |
ToArray() | ICommentAuthor[] | Returner alle forfattere som et array. |
CommentCollection
Tilgået via CommentAuthor.Comments.
Enumerations
| Enumerations | Enumerations | Enumerations | Enumerations |
|---|
Count | int | Enumerations | Antal kommentarer. |
Enumerations
| Enumerations | Enumerations | Enumerations |
|---|
AddComment(string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Tilføj en kommentar til et slide. |
InsertComment(int index, string text, ISlide slide, PointF position, DateTime creationTime) | IComment | Indsæt en kommentar på et specifikt indeks. |
FindCommentByIdx(int idx) | IComment | Find en kommentar efter indeks. |
RemoveAt(int index) | void | Fjern kommentar ved indeks. |
Remove(IComment comment) | void | Fjern en specifik kommentar. |
Clear() | void | Fjern alle kommentarer. |
ToArray() | IComment[] | Returner alle kommentarer som et array. |
Brugseksempler
Tilføj en kommentar
Læs kommentarer
Se også