Page 1 of 1

Print selected area and Page numbering

Posted: Wed May 29, 2019 12:04 am
by deadballfan
I have version 5 and am using Delphi XE2.
I need to print just a selected area and also need to include page numbering in my footer. Can you tell me how to do this, or point me to documentation for this?
Thanks,'
Marshall Thomas

Re: Print selected area and Page numbering

Posted: Mon Jun 03, 2019 4:08 pm
by larsa
Hello

Use XLS[0].PrintSettings.PrintArea(Col1,Row1Col2,Row2) for setting a print area.

For formatting codes in header/footer, open the file XLSSheetData5.pas and you will find a description above TXLSHeaderFooter.