B2018-044 – the Watermarks on large landscape pages (greater than 8 ½ x 11) were printing off the page.
This commit is contained in:
parent
8a1bffef35
commit
3fca7658ce
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user