Gets or sets a value that indicates whether the row and column headings are printed with this page.
[Visual Basic] Property PrintHeadings As Boolean [C#] bool PrintHeadings { get; set; } [C++] __property bool get_PrintHeadings(); __property void set_PrintHeadings(bool ); [JScript] function get PrintHeadings() : bool function set PrintHeadings(bool);
True if row and column headings are printed with this page.
This example turns off the printing of headings for sheet one.
[C#]
book.Worksheets[1].PageSetup.PrintHeadings = false;
[Visual Basic]
book.Worksheets(1).PageSetup.PrintHeadings = False
[C++]
book->Worksheets->Item[1]->PageSetup->PrintHeadings = true;
IPageSetup Interface | NativeExcel Namespace | PageSetup Property