[]
Gets the pane at the specified index.
Use this indexer to access a pane in the IPanes collection after the worksheet has been split into multiple panes.
IPane this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As IPane
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the pane to retrieve. |
worksheet.SplitPanes(2, 2);
IPanes panes = worksheet.Panes;
IPane pane = panes[0];
int paneIndex = pane.Index;