WorksheetBase.Outline Property

Definition

Gets an Outline that represents the outline for the worksheet.

public Microsoft.Office.Interop.Excel.Outline Outline { get; }

Property Value

Outline

An Outline that represents the outline for the worksheet.

Examples

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;
}
Private Sub ShowOutLine()
    Me.Outline.AutomaticStyles = True
End Sub

Applies to