[]
Refreshes the outline column.
Rebuilds the row outline hierarchy for the current outline column based on the current indent levels in the worksheet. Use this method after changing the hierarchical data or updating indent levels to apply the latest outline structure.
void Refresh()
Sub Refresh()
worksheet.Range["A1:A4"].Value = new object[,] {{"Name"}, {"Node 1"}, {"Node 1.1"}, {"Node 2"}};
worksheet.Range["A3"].IndentLevel = 1;
IOutlineColumn outlineColumn = worksheet.OutlineColumn;
outlineColumn.ColumnIndex = 0;
worksheet.Range["A4"].IndentLevel = 1;
outlineColumn.Refresh();