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:
parent
f62caf9669
commit
8ef73fe7b5
@ -116,7 +116,8 @@ namespace VEPROMS.CSLA.Library
|
||||
EndOfText = 0,
|
||||
BtwnTextAndBottom = 1,
|
||||
BottomOfPage = 2,
|
||||
BelowBottom1 = 3
|
||||
BelowBottom1 = 3,
|
||||
EndOfText2 = 5
|
||||
};
|
||||
[Flags]
|
||||
public enum E_DocStructStyle : ulong
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user