F2019-033 Added Flag to position the top continue message at the left margin
F2019-033 Added flag to position top continue message at the left margin F2019-033 Added logic to support format flag to position the top continue message at the left margin
This commit is contained in:
@@ -2819,7 +2819,13 @@ namespace Volian.Print.Library
|
||||
}
|
||||
}
|
||||
if (!PageBreakOnStep)
|
||||
MyPageHelper.TopMessage = new vlnText(cb, this, myMsg, myMsg, docstyle.Layout.LeftMargin + XOffsetBox + docstyle.Continue.Top.Margin ?? 0, yTopMargin + 0.1F, docstyle.Continue.Top.Font);// MyItemInfo.ActiveFormat.PlantFormat.FormatData.Font);
|
||||
{
|
||||
float colPos = docstyle.Layout.LeftMargin + docstyle.Continue.Top.Margin ?? 0;
|
||||
if (!docstyle.Continue.Top.PlaceAtLeftMargin) //F2019-033 when true position with respect only to the left margin
|
||||
colPos += XOffsetBox; //XOffsetbox get set when the tables, figures & equations were beyond the border and needed repositioned
|
||||
MyPageHelper.TopMessage = new vlnText(cb, this, myMsg, myMsg, colPos, yTopMargin + 0.1F, docstyle.Continue.Top.Font);// MyItemInfo.ActiveFormat.PlantFormat.FormatData.Font);
|
||||
|
||||
}
|
||||
else
|
||||
MyPageHelper.TopMessage = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user