Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointModernComment

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Editable modern threaded PowerPoint comment.

Inheritance

  • object
  • PowerPointModernComment

Usage

Explore 2 API references to this type

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, DateTime? created = null) #

Adds a reply to this comment.

Parameters

author OfficeIMO.PowerPoint.PowerPointCommentAuthor required
text string required
status OfficeIMO.PowerPoint.PowerPointModernCommentStatus = Active optional
created System.DateTime? = null optional
public void Remove() #

Removes the comment and all of its replies.

public void SetAuthor(PowerPointCommentAuthor author) #

Reassigns the comment to an existing or newly created author.

Parameters

author OfficeIMO.PowerPoint.PowerPointCommentAuthor required

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 DateTime? Created { get; set; } #

Creation timestamp.

public OfficeLength X { get; set; } #

Comment X position within the DrawingML coordinate range.

public OfficeLength Y { get; set; } #

Comment Y position within the DrawingML coordinate range.

public IReadOnlyList<PowerPointModernCommentReply> Replies { get; } #

Replies in package order.