mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 17:19:23 +02:00
LazReport: Fix a problem exporting 2 pages from LazReport to JPEG image. Issue #31400, patch from Lagunov Aleksey.
git-svn-id: trunk@54306 -
This commit is contained in:
parent
491d57ecbc
commit
c6e74cb0e3
@ -80,6 +80,7 @@ var
|
|||||||
TmpVisible: Boolean;
|
TmpVisible: Boolean;
|
||||||
begin
|
begin
|
||||||
Inc(FCurPage);
|
Inc(FCurPage);
|
||||||
|
FBmp.Clear;
|
||||||
FBmp.SetSize(Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgw * FZoom),
|
FBmp.SetSize(Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgw * FZoom),
|
||||||
Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgh * FZoom));
|
Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgh * FZoom));
|
||||||
FBmp.Canvas.Brush.Color := FColor;
|
FBmp.Canvas.Brush.Color := FColor;
|
||||||
|
Loading…
Reference in New Issue
Block a user