Worksheet.Outline Property (2007 System)

Gets an Outline that represents the outline for the worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Outline As Outline
'Usage
Dim instance As Worksheet 
Dim value As Outline 

value = instance.Outline
[BrowsableAttribute(false)]
public Outline Outline { get; }
[BrowsableAttribute(false)]
public:
property Outline^ Outline {
    Outline^ get ();
}
public function get Outline () : Outline

Property Value

Type: 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 Sub ShowOutLine()
    Me.Outline.AutomaticStyles = True 
End Sub
private void ShowOutLine()
{
    this.Outline.AutomaticStyles = true;
}

.NET Framework Security

See Also

Reference

Worksheet Class

Worksheet Members

Microsoft.Office.Tools.Excel Namespace