Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
How do print 2-n page with different topmargin then 1. Page
rbuser
January 2004
edited January 2004
in
General
How can i define to print the 2-n Pages with other TopMargin then the 1.
Page
Regards
Andy
Comments
nicocizik
January 2004
edited January 2004
Hi Andy,
In the Report.OnStartPage, change the page margin based on the
Report.PageNo. You will have to use the page object in the Report.Engine
class.
procedure TForm1.ReportStartPage(Sender: TObject);
begin
if Report.PageNo > 1 then
Report.Engine.Page.PrinterSetup.MarginTop := 1.0;
end;
--
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
In the Report.OnStartPage, change the page margin based on the
Report.PageNo. You will have to use the page object in the Report.Engine
class.
procedure TForm1.ReportStartPage(Sender: TObject);
begin
if Report.PageNo > 1 then
Report.Engine.Page.PrinterSetup.MarginTop := 1.0;
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com