[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Comment

Comment Class

Represents a comment range in a body content.

Inheritance
Comment
Implements
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Comment : ContentRange, IBrowsable<Comment>
Public Class Comment
    Inherits ContentRange
    Implements IBrowsable(Of Comment)

Properties

Name Description
Ancestor

Gets the parent Comment for comments that are replies to an existing comment.

For new (top-level) comments returns null.

Author

Gets or sets the author of this comment.

Body

Gets the content of this comment.

Date

Gets or sets the date of this comment.

Done

Gets or sets a value indicating whether the comment has been marked closed.

EndDisplacedByCustomXml

Gets or sets a value indicating that the end annotation's placement shall be directly linked with the location of the physical presentation of a custom XML element in the document.

ID

Gets the unique ID of this comment.

Initials

Gets or sets the initials of the author of this comment.

Next

Gets the next comment.

Previous

Gets the previous comment.

Reference

Gets the comment content reference mark that links to this comment content.

Replies

Gets the list of child Comment objects that are replies to this comment.

StartDisplacedByCustomXml

Gets or sets a value indicating that the start annotation's placement shall be directly linked with the location of the physical presentation of a custom XML element in the document.

Methods

Name Description
Delete()

Deletes this comment from the parent Body.

Delete(bool)

Deletes this comment and optionally all replies associated with it from the parent Body.

Reply(string, string)

Adds a new Comment to the Replies collection of this comment.

Reply(string, string, DateTime)

Adds a new Comment to the Replies collection of this comment.

Reply(string, string, DateTime, string)

Adds a new Comment to the Replies collection of this comment.

ToString()

Gets string representation of the content.