Added a new Bottom Continue Message location which limits the message to the bottom margin.
Changed bottom continue message to be limited by the bottom margin. Previously the continue message overlapped the border.
This commit is contained in:
@@ -912,6 +912,9 @@ namespace Volian.Print.Library
|
||||
case E_ContBottomLoc.BelowBottom1:
|
||||
msg_yLocation = msg_yLocation + yBtmMarginForMsg;
|
||||
break;
|
||||
case E_ContBottomLoc.EndOfText2: // Like EndOfText but limited within yBottomMargin
|
||||
msg_yLocation = Math.Max(msg_yLocation + yLocation - SixLinesPerInch, yBottomMargin + SixLinesPerInch);
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user