Class
WordCellComment
OfficeIMO.Word
A plain-text root comment anchored to a cell in the document body.
Inheritance
- object
- WordCellComment
Usage
Explore 1 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.
Accepted by parameters 1
- Method WordDocument.AddCellComments
Constructors
public WordCellComment(WordTableCell cell, string author, string initials, string text, DateTime? dateTime = null) #Creates a cell comment. A null date leaves the creation timestamp unspecified.
Parameters
- cell OfficeIMO.Word.WordTableCell
- author string
- initials string
- text string
- dateTime System.DateTime? = null
Methods
public static bool CanPreserveText(string text) #Determines whether Word's plain-text paragraph owner preserves the text without normalization.
Parameters
- text string
Returns
boolInherited Methods
Properties
public WordTableCell Cell { get; } #Gets the destination cell. Its direct paragraphs form the comment range.
public string Initials { get; } #Gets the author's initials, which may be empty.
public string Text { get; } #Gets plain text, including line feeds, tabs and whitespace.
public DateTime? DateTime { get; } #Gets the creation timestamp, or null when unspecified.