TabRangeUnmerge

Syntax

bool TabRangeUnmerge(string mon)

Parameters

mon. Moniker for working with table cell range.

Description

The TabRangeUnmerge operation unmerges table cell range.

Comments

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 is canceled successfully.

Example

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.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<TabRangeUnmerge xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1!Sheets!1!A0:B3</mon>
  </TabRangeUnmerge>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <TabRangeUnmergeResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</TabRangeUnmergeResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"TabRangeUnmerge" :
{
"mon" : "S1!M!S!P1!Sheets!1!A0:B3"
}
}

JSON response:

{
"TabRangeUnmergeResult" : "1"
}
public static bool UnMergeRange(string moniker, string sheetKey, string adress)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tTab = new TabRangeUnmerge()
{
mon = moniker + "!Sheets!" + sheetKey + '!' + adress
};
// Unmerge range
var result = somClient.TabRangeUnmerge(tTab);
return result;
}

See also:

Interactive Visual Components