NativeExcel2 for .Net Developer's Reference

IOutline Interface

Represents an outline on a worksheet.

For a list of all members of this type, see IOutline Members.

[Visual Basic]
PublicInterfaceIOutline
[C#]
publicinterfaceIOutline
[C++]
public__gc__interfaceIOutline
[JScript]
publicinterfaceIOutline

Types that implement IOutline

TypeDescription

Remarks

Use IWorksheet.Outline property to return an IOutline interface.

Example

The following example demonstrates how to access outline properties.

[C#]
book.Worksheets[1].Outline.SummaryColumn = XlSummaryColumn.xlSummaryOnLeft;
book.Worksheets[1].Outline.SummaryRow    = XlSummaryRow.xlSummaryAbove;
[VisualBasic]
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;

Requirements

Namespace: NativeExcel

Assembly: NativeExcel (in NativeExcel.dll)

See Also

IOutline Members | NativeExcel Namespace | IWorksheet.Outline | XlSummaryColumn Enumeration | XlSummaryRow Enumeration