Expand Minimize
This topic has not yet been rated - Rate this topic

WorksheetBase.Outline Property

Gets an Outline that represents the outline for the worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
public Outline Outline { get; }

Property Value

Type: Outline
An Outline that represents the outline for the worksheet.

The following code example uses the Outline property to make the outline for the current worksheet use automatic styles.

This example is for a document-level customization.

private void ShowOutLine()
{
    this.Outline.AutomaticStyles = true;
}
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.