bool TabRangeMerge(string mon)
mon. Moniker for working with table cell range.
The TabRangeMerge operation merges table cell range.
To execute the operation, in the mon field specify moniker of regular report instance with the !Sheets!sheet key!range address postfix. The operation results in the logical True if cells were merged successfully.
Below is the example of merging cell range on regular report sheet. The request contains moniker for working with range. The response contains whether the operation is executed successfully.
{
"TabRangeMerge" :
{
"mon" : "S1!M!S!P1!Sheets!1!A0:B3"
}
}
{
"TabRangeMergeResult" : "1"
}
public static bool MergeRange(string moniker, string sheetKey, string address)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tTab = new TabRangeMerge()
{
mon = moniker + "!Sheets!" + sheetKey + '!' + address
};
// Merge range
var result = somClient.TabRangeMerge(tTab);
return result;
}
See also: