NativeExcel for .Net Developer's Reference

IRangeColumns.ClearOutlineMethod

Clears the outline for columns in the specified range.

[Visual Basic]
SubClearOutline()
[C#]
voidClearOutline();
[C++]
voidClearOutline();
[JScript]
functionClearOutline();

Example

This example clears the outline for columns one through five on sheet one.

[C#]
 book.Worksheets[1].Range["A1:F1"].Columns.ClearOutline();
[VisualBasic]
 book.Worksheets(1).Range("A1:F1").Columns.ClearOutline()
[C++]
 book->Worksheets->Item[1]->Range->Item[S"A1:F1"]->Columns->ClearOutline();

See Also

IRangeColumns Interface | NativeExcel Namespace | IRangeRows.ClearOutline Method | IRange.ClearOutline Method | Ungroup Method | Group Method | OutlineLevel Property