bool DelTabRangeComment(string mon)
mon. Moniker for working with table cell.
The DelTabRangeComment operation deletes table cell comments.
To execute the operation, in the mon field specify the moniker for working with cell in the following format: Regular report instance moniker!Sheets!Sheet key!absolute address. If the cell range moniker is specified, comments are deleted in all cells in the range.
The operation results in the logical True if comment was deleted successfully.
Below is the example of cell comment deletion. The request contains moniker for working with a cell. The response contains whether a comment is successfully deleted.
{
"DelTabRangeComment" :
{
"mon" : "HBNCFAKEFPMNFOAEGJLELNECHEGOAOHEKJALPKOGKEBPFMNE!M!S!PKHDIGFKEFPMNFOAEDGNBAHBMBHMJKBNENLGGOOJBLJAKBOAO!Sheets!1!A1"
}
}
{
"DelTabRangeCommentResult" : "1"
}
public static bool DelTabRangeComment(string moniker, string sheetKey, string address)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tTab = new DelTabRangeComment()
{
mon = moniker + "!Sheets!" + sheetKey + '!' + address
};
// Delete cell comment
var result = somClient.DelTabRangeComment(tTab);
return result;
}
See also: