[]
This interface provides access to the collection of IPane objects associated with a worksheet. Use IWorksheet.getPanes() to retrieve the panes collection after freezing or splitting a worksheet view.
worksheet.splitPanes(2, 2);
IPanes panes = worksheet.getPanes();
int count = panes.getCount();
IPane pane = panes.get(0);
Use this method to determine how many worksheet panes are currently available from IWorksheet.getPanes().
worksheet.splitPanes(2, 2);
IPanes panes = worksheet.getPanes();
int count = panes.getCount();
Use this method to access a pane in the IPanes collection after the worksheet has been split into multiple panes.
worksheet.splitPanes(2, 2);
IPanes panes = worksheet.getPanes();
IPane pane = panes.get(0);
int paneIndex = pane.getIndex();
index - The index of the pane to retrieve.IPane at the specified index.