fixed issue with placing an End message at the end of sections that are printed with the continuous pagination setting

This commit is contained in:
John Jenko 2014-11-13 20:24:08 +00:00
parent cf8d11623b
commit d06c896795

View File

@ -1523,6 +1523,7 @@ namespace Volian.Print.Library
xpos = Math.Max(xpos, XOffsetBox + (float)docstyle.Layout.LeftMargin); xpos = Math.Max(xpos, XOffsetBox + (float)docstyle.Layout.LeftMargin);
MyPageHelper.BottomMessage = new vlnText(cb, this, myMsg, myMsg, xpos, msg_yLocation, docstyle.End.Font); MyPageHelper.BottomMessage = new vlnText(cb, this, myMsg, myMsg, xpos, msg_yLocation, docstyle.End.Font);
MyPageHelper.MyGaps.Add(new Gap(msg_yLocation, msg_yLocation - MyPageHelper.BottomMessage.Height)); MyPageHelper.MyGaps.Add(new Gap(msg_yLocation, msg_yLocation - MyPageHelper.BottomMessage.Height));
yPageStart -= MyPageHelper.BottomMessage.Height;
} }
} }
} }