B2019-145: landscape watermark misprint

This commit is contained in:
2019-10-02 12:36:03 +00:00
parent c332a62370
commit 003fac949c
2 changed files with 11 additions and 1 deletions

View File

@@ -1770,6 +1770,7 @@ namespace Volian.Print.Library
{
System.Drawing.Drawing2D.Matrix myMatrix = new System.Drawing.Drawing2D.Matrix(0, 1, -1, 0, cb.PdfDocument.PageSize.Height, 0);
cb.Transform(myMatrix);
_MyHelper.IsWatermarkLandscape = true; // B2019-145: watermark on landscape page
}
}
else
@@ -1864,6 +1865,7 @@ namespace Volian.Print.Library
OnStatusChanged("StepSection converted to PDF " + section.ShortPath, PromsPrinterStatusType.BuildStep);
//pt.Description = "End";
ProfileTimer.Pop(profileDepth);
_MyHelper.IsWatermarkLandscape = false;
}
private void GenerateSuppInfoPdf(vlnParagraph vlnParagraph, float yTopMargin, float yBottomMargin)