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:
property Microsoft::Office::Interop::Excel::Outline ^ Outline { Microsoft::Office::Interop::Excel::Outline ^ get(); };
public Microsoft.Office.Interop.Excel.Outline Outline { get; }
member this.Outline : Microsoft.Office.Interop.Excel.Outline
Public ReadOnly Property Outline As Outline
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