fix caution/note off section’s box printing on top of check off header.

This commit is contained in:
Kathy Ruffing 2015-02-02 17:12:43 +00:00
parent e0b21fa4a2
commit d0f30dc083

View File

@ -3353,7 +3353,7 @@ namespace Volian.Print.Library
if (cohead != MyPageHelper.PageListLastCheckOffHeader) if (cohead != MyPageHelper.PageListLastCheckOffHeader)
{ {
font = mySectionInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffHeaderList[sindx].Font; font = mySectionInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffHeaderList[sindx].Font;
float chkOffY = CalculateYLocation(YTopMost, yTopMargin); float chkOffY = CalculateYLocation(YTop, yTopMargin);
if (MyPageHelper.YMultiplier != 1) if (MyPageHelper.YMultiplier != 1)
{ {
chkOffY = -1 + yTopMargin - (yTopMargin - yLocation) * MyPageHelper.YMultiplier; chkOffY = -1 + yTopMargin - (yTopMargin - yLocation) * MyPageHelper.YMultiplier;