This commit is contained in:
2010-06-16 14:10:02 +00:00
parent e0df82c11d
commit 893282d7a2
5 changed files with 76 additions and 38 deletions

View File

@@ -27,7 +27,7 @@ namespace Volian.Print.Library
MyContentByte = cb;
float yLocation = CalculateYOffset(yPageStart, yTopMargin);
// Adjust the starting point for the Macro if the LPI is 7
if (MyPageHelper.YMultiplier != 1) yLocation += _SixLinesPerInch - _SevenLinesPerInch;
if (MyPageHelper.YMultiplier != 1) yLocation += SixLinesPerInch - _SevenLinesPerInch;
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
PdfLayer textLayer = _MyPageHelper == null ? null : _MyPageHelper.TextLayer;
if (textLayer != null) cb.BeginLayer(textLayer);