API Reference

Class

PowerPointModernComment

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

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.

Methods

public PowerPointModernCommentReply AddReply(PowerPointCommentAuthor author, String text, PowerPointModernCommentStatus status = Active, Nullable<DateTime> created = null) #
Returns: PowerPointModernCommentReply

Adds a reply to this comment.

Parameters

author OfficeIMO.PowerPoint.PowerPointCommentAuthor requiredposition: 0
text System.String requiredposition: 1
status OfficeIMO.PowerPoint.PowerPointModernCommentStatus = Active optionalposition: 2
created System.Nullable{System.DateTime} = null optionalposition: 3
public Void Remove() #
Returns: Void

Removes the comment and all of its replies.

public Void SetAuthor(PowerPointCommentAuthor author) #
Returns: Void

Reassigns the comment to an existing or newly created author.

Parameters

author OfficeIMO.PowerPoint.PowerPointCommentAuthor requiredposition: 0

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.