Gets or sets the current outline level of the specified column.
[Visual Basic] Property OutlineLevel As Integer [C#] int OutlineLevel { get; set; } [C++] __property int get_OutlineLevel(); __property void set_OutlineLevel(int ); [JScript] function get OutlineLevel() : int function set OutlineLevel(int);
Can be an integer value from 1 to 8. Level one is the outermost summary level.
This example sets the outline level for column two on sheet one.
[C#]
book.Worksheets[1].Range.Columns[2].OutlineLevel = 2;
[Visual Basic]
book.Worksheets(1).Range.Columns(2).OutlineLevel = 2
[C++]
book->Worksheets->Item[1]->Range->Columns->Item[2]->OutlineLevel = 2;
IRangeColumn Interface | NativeExcel Namespace | Group Method | Ungroup Method | ClearOutline Method