Returns an IOutline interface that represents the outline for the specified worksheet.
[Visual Basic] Property ReadOnly Outline As IOutline [C#] IOutline Outline { get; } [C++] __property IOutline* get_Outline(); [JScript] function get Outline() : IOutline
IOutline interface.
This example sets the outline properties for worksheet one.
[C#]
book.Worksheets[1].Outline.SummaryColumn = XlSummaryColumn.xlSummaryOnLeft;
book.Worksheets[1].Outline.SummaryRow = XlSummaryRow.xlSummaryAbove;
[Visual Basic]
book.Worksheets(1).Outline.SummaryColumn = XlSummaryColumn.xlSummaryOnLeft
book.Worksheets(1).Outline.SummaryRow = XlSummaryRow.xlSummaryAbove
[C++]
IWorksheet* sheet = book->Worksheets->Item[1];
sheet->Outline->SummaryColumn = XlSummaryColumn::xlSummaryOnLeft;
sheet->Outline->SummaryRow = XlSummaryRow::xlSummaryAbove;
IWorksheet Interface | NativeExcel Namespace | IOutline Interface