[]
Gets or sets the maximum row outline level for the outline column.
The maximum level determines how many hierarchical row levels the outline
column supports. The default value is 10.
int MaxLevel { get; set; }
Property MaxLevel As Integer
worksheet.Range["A1:A4"].Value = new object[,] {{"Name"}, {"Node 1"}, {"Node 1.1"}, {"Node 1.1.1"}};
worksheet.Range["A3"].IndentLevel = 1;
worksheet.Range["A4"].IndentLevel = 2;
IOutlineColumn outlineColumn = worksheet.OutlineColumn;
outlineColumn.ColumnIndex = 0;
outlineColumn.MaxLevel = 3;
int maxLevel = outlineColumn.MaxLevel;