Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - DrawTableRows and pagebreak
  FAQ FAQ  Forum Search   Register Register  Login Login

DrawTableRows and pagebreak

 Post Reply Post Reply
Author
Message
Detlev View Drop Down
Beginner
Beginner
Avatar

Joined: 28 Jan 10
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Quote  Post ReplyReply Direct Link To This Post Topic: DrawTableRows and pagebreak
    Posted: 02 Mar 10 at 9:04AM

Hi,

I use this loop to print a table with many rows on a series of pages:

<<<<

PrintedRecordCount := 0;

ttt := PDFLibrary.DrawTableRows(tableID, tLeft, tTop , tHeight, PrintedRecordCount + 1, 0);
PrintedRecordCount := PDFLibrary.GetTableLastDrawnRow(tableID);
while PrintedRecordCount < nrow do
begin

Newpage;
ttt := PDFLibrary.DrawTableRows(tableID, tLeft, tTop , tHeight, PrintedRecordCount + 1, 0);
PrintedRecordCount := PDFLibrary.GetTableLastDrawnRow(tableID);

end;

>>>>

The problem is that the second and the following calls to DrawTableRows will allways return 0 for ttt and PrintedRecordCount. Any idea?

It would be nice to repeat headlines on the following pages (if any) and / or the first column (if the table is wider than the page. Is there a smart solution for this?

Detlev




Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store