Print selected area and Page numbering

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
deadballfan
Posts: 19
Joined: Mon Aug 20, 2012 10:22 pm

Print selected area and Page numbering

Post 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
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Print selected area and Page numbering

Post 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.
Lars Arvidsson, Axolot Data
Post Reply