API Reference
Class
WordCellComment
A plain-text root comment anchored to a cell in the document body.
Inheritance
- Object
- WordCellComment
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method WordDocument.AddCellComments
Constructors
public WordCellComment(WordTableCell cell, String author, String initials, String text, Nullable<DateTime> dateTime = null) #Creates a cell comment. A null date leaves the creation timestamp unspecified.
Parameters
- cell OfficeIMO.Word.WordTableCell
- author System.String
- initials System.String
- text System.String
- dateTime System.Nullable{System.DateTime} = null
Methods
public static Boolean CanPreserveText(String text) #Returns:
BooleanDetermines whether Word's plain-text paragraph owner preserves the text without normalization.
Parameters
- text System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public WordTableCell Cell { get; } #Gets the destination cell. Its direct paragraphs form the comment range.
public String Author { get; } #Gets the author's exact display name.
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 Nullable<DateTime> DateTime { get; } #Gets the creation timestamp, or null when unspecified.