API Reference
Class
PowerPointModernComment
Editable modern threaded PowerPoint comment.
Inheritance
- Object
- PowerPointModernComment
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public PowerPointModernCommentReply AddReply(PowerPointCommentAuthor author, String text, PowerPointModernCommentStatus status = Active, Nullable<DateTime> created = null) #Returns:
PowerPointModernCommentReplyAdds a reply to this comment.
Parameters
- author OfficeIMO.PowerPoint.PowerPointCommentAuthor
- text System.String
- status OfficeIMO.PowerPoint.PowerPointModernCommentStatus = Active
- created System.Nullable{System.DateTime} = null
public Void SetAuthor(PowerPointCommentAuthor author) #Returns:
VoidReassigns the comment to an existing or newly created author.
Parameters
- author OfficeIMO.PowerPoint.PowerPointCommentAuthor
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Id { get; } #Stable modern comment identifier.
public PowerPointCommentAuthor Author { get; } #Comment author.
public String Text { get; set; } #Visible review text.
Exceptions
NotSupportedException– The imported comment uses rich text markup that cannot be replaced without losing formatting.
public PowerPointModernCommentStatus Status { get; set; } #Review status.
public Nullable<DateTime> Created { get; set; } #Creation timestamp.
public Int64 X { get; set; } #Comment X position within the DrawingML coordinate range.
public Int64 Y { get; set; } #Comment Y position within the DrawingML coordinate range.
public IReadOnlyList<PowerPointModernCommentReply> Replies { get; } #Replies in package order.