bool TabRangeUnmerge(string mon)
mon. Moniker for working with table cell range.
The TabRangeUnmerge operation unmerges 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 cell merge was canceled successfully.
Below is the example of unmerging cell range on regular report sheet. The request contains moniker for working with range. The response contains whether the operation is executed successfully.
{
"TabRangeUnmerge" :
{
"mon" : "S1!M!S!P1!Sheets!1!A0:B3"
}
}
{
"TabRangeUnmergeResult" : "1"
}
public static bool UnMergeRange(string moniker, string sheetKey, string address)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tTab = new TabRangeUnmerge()
{
mon = moniker + "!Sheets!" + sheetKey + '!' + address
};
// Unmerge range
var result = somClient.TabRangeUnmerge(tTab);
return result;
}
See also: