WorksheetBase.Outline Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an Outline that represents the outline for the worksheet.
public Microsoft.Office.Interop.Excel.Outline Outline { get; }
Property Value
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