TabRangeComment GetTabRangeComment(string mon)
mon. Moniker for working with table cell.
The GetTabRangeComment operation gets a comment specified for a cell.
To execute the operation, in the mon field specify moniker for working with a cell in the following format: Regular report instance moniker!Sheets!Sheet key!absolute address. If the cell range moniker is specified, the operation is executed for the upper left cell in the range.
The operation results in the obtained cell comment.
Below is the example of getting a cell comment. The request contains moniker for working with a cell. The response contains the obtained comment.
{
"GetTabRangeComment" :
{
"mon" : "HBNCFAKEFPMNFOAEGJLELNECHEGOAOHEKJALPKOGKEBPFMNE!M!S!PKHDIGFKEFPMNFOAEDGNBAHBMBHMJKBNENLGGOOJBLJAKBOAO!Sheets!1!A1"
}
}
{
"GetTabRangeCommentResult" :
{
"trc" : "Source data area"
}
}
public static TabRangeComment GetTabRangeComment(string moniker, string sheetKey, string address)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tTab = new GetTabRangeComment()
{
mon = moniker + "!Sheets!" + sheetKey + '!' + address
};
// Get cell comment
var result = somClient.GetTabRangeComment(tTab);
return result;
}
See also: