Logic to support new bottom continue message location type
This commit is contained in:
parent
0d338ef3b7
commit
c8ee2ce6a6
@ -898,6 +898,9 @@ namespace Volian.Print.Library
|
|||||||
//msg_yLocation = yBottomMargin + 2 * SixLinesPerInch + (float)docstyle.Layout.FooterLength; // 2 lines above bottom margin
|
//msg_yLocation = yBottomMargin + 2 * SixLinesPerInch + (float)docstyle.Layout.FooterLength; // 2 lines above bottom margin
|
||||||
msg_yLocation = msg_yLocation + yBtmMarginForMsg + (float)docstyle.Layout.FooterLength;
|
msg_yLocation = msg_yLocation + yBtmMarginForMsg + (float)docstyle.Layout.FooterLength;
|
||||||
break;
|
break;
|
||||||
|
case E_ContBottomLoc.BelowBottom1:
|
||||||
|
msg_yLocation = msg_yLocation + yBtmMarginForMsg;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****");
|
Console.WriteLine("**** BOTTOM CONTINUE MESSAGE NOT CODED*****");
|
||||||
break;
|
break;
|
||||||
@ -908,7 +911,7 @@ namespace Volian.Print.Library
|
|||||||
if (RNOContinueOnly)
|
if (RNOContinueOnly)
|
||||||
{
|
{
|
||||||
// The following line was added for McGuire APs/AP/1/5500/12, Step 13
|
// The following line was added for McGuire APs/AP/1/5500/12, Step 13
|
||||||
if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch;
|
//if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch;
|
||||||
int colR = int.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]);
|
int colR = int.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]);
|
||||||
xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0;
|
xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user