From 3fca7658ce16a43658f23dd29ce6f0f464ac2fe0 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 9 Mar 2018 16:26:02 +0000 Subject: [PATCH] =?UTF-8?q?B2018-044=20=E2=80=93=20the=20Watermarks=20on?= =?UTF-8?q?=20large=20landscape=20pages=20(greater=20than=208=20=C2=BD=20x?= =?UTF-8?q?=2011)=20were=20printing=20off=20the=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Svg.Library/iTextSharp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Svg.Library/iTextSharp.cs b/PROMS/Volian.Svg.Library/iTextSharp.cs index b8f45286..7fd8484a 100644 --- a/PROMS/Volian.Svg.Library/iTextSharp.cs +++ b/PROMS/Volian.Svg.Library/iTextSharp.cs @@ -1160,7 +1160,7 @@ namespace Volian.Svg.Library //double a = -33 * (Math.PI / 180); //System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix((float)Math.Cos(a), (float)Math.Sin(a), (float)-Math.Sin(a), (float)Math.Cos(a), -60, 320); double a = -90 * (Math.PI / 180); - System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix((float)Math.Cos(a), (float)Math.Sin(a), (float)-Math.Sin(a), (float)Math.Cos(a), 0, 800); + System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix((float)Math.Cos(a), (float)Math.Sin(a), (float)-Math.Sin(a), (float)Math.Cos(a), 0, cb.PdfDocument.PageSize.Height); cb.Transform(myMatrix); } SvgWatermark myWatermark = new SvgWatermark(cb, Watermark, System.Drawing.Color.Blue, .15F);