Word.Interfaces.CommentContentRangeLoadOptions interface
Remarks
Properties
$all | Specifying |
bold | Specifies a value that indicates whether the comment text is bold. |
hyperlink | Gets the first hyperlink in the range, or sets a hyperlink on the range. All hyperlinks in the range are deleted when you set a new hyperlink on the range. |
is |
Checks whether the range length is zero. |
italic | Specifies a value that indicates whether the comment text is italicized. |
strike |
Specifies a value that indicates whether the comment text has a strikethrough. |
text | Gets the text of the comment range. |
underline | Specifies a value that indicates the comment text's underline type. 'None' if the comment text isn't underlined. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
bold
Specifies a value that indicates whether the comment text is bold.
bold?: boolean;
Property Value
boolean
Remarks
hyperlink
Gets the first hyperlink in the range, or sets a hyperlink on the range. All hyperlinks in the range are deleted when you set a new hyperlink on the range.
hyperlink?: boolean;
Property Value
boolean
Remarks
isEmpty
Checks whether the range length is zero.
isEmpty?: boolean;
Property Value
boolean
Remarks
italic
Specifies a value that indicates whether the comment text is italicized.
italic?: boolean;
Property Value
boolean
Remarks
strikeThrough
Specifies a value that indicates whether the comment text has a strikethrough.
strikeThrough?: boolean;
Property Value
boolean
Remarks
text
Gets the text of the comment range.
text?: boolean;
Property Value
boolean
Remarks
underline
Specifies a value that indicates the comment text's underline type. 'None' if the comment text isn't underlined.
underline?: boolean;
Property Value
boolean
Remarks
Office Add-ins