Einzelnen Beitrag anzeigen

mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: Fastreport PDF Erstellen stürtzt ab

  Alt 3. Aug 2018, 10:55
Ich würde, auch wenn es vielleuicht nichts mit dem Problem zu tun hat
Delphi-Quellcode:
              with v2 do
              begin
                Left:= -(report.Pages[1] as TfrxReportPage).LeftMargin * fr01cm;
                Top:= -(report.Pages[1] as TfrxReportPage).TopMargin * fr01cm;
                Width:= (report.Pages[1] as TfrxReportPage).PaperWidth * fr01cm;
                Height:= (report.Pages[1] as TfrxReportPage).PaperHeight * fr01cm;
end;
durch
Delphi-Quellcode:
        v2.Left:= -(report.Pages[1] as TfrxReportPage).LeftMargin * fr01cm;
                v2.Top:= -(report.Pages[1] as TfrxReportPage).TopMargin * fr01cm;
                v2.Width:= (report.Pages[1] as TfrxReportPage).PaperWidth * fr01cm;
                v2.Height:= (report.Pages[1] as TfrxReportPage).PaperHeight * fr01cm;
ersetzen.
Markus Kinzler
  Mit Zitat antworten Zitat