From ad6cacaa05b22ca0c12fa4dc69d2e26da101cd35 Mon Sep 17 00:00:00 2001 From: Vadim Gordeev Date: Thu, 10 Aug 2023 16:15:45 +0300 Subject: [PATCH] Fix image size value mistake --- RdlEngine/Render/RenderBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RdlEngine/Render/RenderBase.cs b/RdlEngine/Render/RenderBase.cs index 44733bab..8b59e3ac 100644 --- a/RdlEngine/Render/RenderBase.cs +++ b/RdlEngine/Render/RenderBase.cs @@ -304,7 +304,7 @@ private void ProcessPage(Pages pgs, IEnumerable items) case ImageSizingEnum.Clip: //Set samples size - i.GetImageData((int)clipRect.Width, (int)clipRect.Height); + i.GetImageData((int)r2.Width, (int)r2.Height); adjustedRect = new RectangleF(r2.Left, r2.Top, Measurement.PointsFromPixels(i.SamplesW, pgs.G.DpiX), Measurement.PointsFromPixels(i.SamplesH, pgs.G.DpiY)); @@ -828,4 +828,4 @@ public void GroupingEnd(Grouping g) // called at end of grouping { } } -} \ No newline at end of file +}