Share via


PageSetup.PrintHeadings Property

True if row and column headings are printed with this page. Applies only to worksheets.

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

Syntax

'Declaration
Property PrintHeadings As Boolean
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Boolean

value = instance.PrintHeadings

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

Property Value

Type: System.Boolean

Remarks

The DisplayHeadings property controls the on-screen display of headings.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace