다음을 통해 공유


WorksheetBase.Outline Property

Definition

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

Applies to