From 0ed59c65bf3a06afa30f5ce93ac3c47e7cb9fda2 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 14 Oct 2011 10:35:26 +0000 Subject: [PATCH] --- PROMS/Volian.Print.Library/vlnBox.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnBox.cs b/PROMS/Volian.Print.Library/vlnBox.cs index c6d71cc7..a7f35d73 100644 --- a/PROMS/Volian.Print.Library/vlnBox.cs +++ b/PROMS/Volian.Print.Library/vlnBox.cs @@ -94,7 +94,9 @@ namespace Volian.Print.Library case BoxFPLCaution: lineThickness = 3; cb.SetLineWidth(lineThickness); - cb.Rectangle(left + llxOffset, bottom + (lineThickness / 2), right - left, (Height - lineThickness) * MyPageHelper.YMultiplier); + // use a Y adjustment (top & bottom) to make the caution box match the 16bit output. + float YbxAdjust = 6.5F; + cb.Rectangle(left + llxOffset, bottom - YbxAdjust + (lineThickness / 2), right - left, (Height - lineThickness + 2*YbxAdjust) * MyPageHelper.YMultiplier); break; default: // For other than thick, thin and double.