Share via


WorksheetView.DisplayHeadings Property

True if both row and column headings are displayed; False if no headings are displayed. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DisplayHeadings As Boolean
    Get
    Set
'Usage
Dim instance As WorksheetView
Dim value As Boolean

value = instance.DisplayHeadings

instance.DisplayHeadings = value
bool DisplayHeadings { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

This property applies only to worksheets and macro sheets.

This property affects only displayed headings. Use the PrintHeadings property to control the printing of headings.

See Also

Reference

WorksheetView Interface

WorksheetView Members

Microsoft.Office.Interop.Excel Namespace