RasterSplitter.split( srcPanelNo, destPanelNo, alignment, size )
Split a panel and returns the new splitter.
srcPanelNo
indicates which of the existing panels is going to be splitted: 1 or 2.
destPanelNo
indicates to which panel in the new splitter the
content being splitted will be moved to: 1 or 2. The newly created splitter's
panel 1 will have the given
size
and be aligned according to
the given
alignment
.
Parameters
Name |
Type |
|
Description |
srcPanelNo |
number |
|
ID of the panel to be splitted: 1 or 2. |
destPanelNo |
number |
|
ID of the panel in the new splitter where the
content being splitted will be placed: 1 or 2. |
alignment |
string |
|
Alignment of panel 1. Use one of the following
values: 'top', 'right, 'bottom', or 'left'.
This argument is not case-sensitive. |
size |
number |
|
Size of panel 1 in the new splitter. |
Returns
Type |
Description |
object |
Reference to the newly created splitter. |