I have a project in Delphi 2010 and I'm using RaveReport to generate PDF reports through the code, my question is I want to know if it is possible and how can I set the size (height and width) of my PDF page.
I tried it but did not resulted:
var PWidth: Double;
PWidth := 20;
System.BaseReport.PageWidth := PWidth;
And tried this:
System.BaseReport.SetPaperSize(DMPAPER_USER, 2100, 1400);
Any solution?
Solution for my problem: