diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index ddc636f8..ef593dd7 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -652,6 +652,8 @@ namespace Volian.Print.Library System.Drawing.Graphics gr = System.Drawing.Graphics.FromImage(image); myRtb.RenderClipped(gr, new System.Drawing.Rectangle(0, 0, (int)Width, (int)Height)); // B2017-116 Adjust Image Size by Scaler (Used for Facing Pages - Sup Info) + // B2017-241 Adjust Bottom Message Location for the raw figure (Equation or Visio) + MyPageHelper.BottomContent = yLocation - (.6F * Height * MyPageHelper.YMultiplier * ImageScaler); retval = Rtf2Pdf.RtfRawAt(cb, image, XOffset + MyItemInfo.FormatStepData.Font.CharsToTwips, yLocation, Width * MyPageHelper.YMultiplier * ImageScaler, Height * MyPageHelper.YMultiplier * ImageScaler, DebugInfo, yBottomMargin, !MyItemInfo.FormatStepData.Type.ToUpper().Contains("BORDERLESS")); } catch (Exception ex) @@ -1299,6 +1301,8 @@ namespace Volian.Print.Library Height = ic.Image_Height; } iTextSharp.text.Image it_image = iTextSharp.text.Image.GetInstance(idata); + // B2017-241 Adjust Bottom Message Location for the figure + MyPageHelper.BottomContent = yLocation - (Height * MyPageHelper.YMultiplier); // B2017-112 Adjust Image Size by Scaler (Used for Facing Pages - Sup Info) retval = Rtf2Pdf.FigureAt(cb, it_image, XOffset + MyItemInfo.FormatStepData.Font.CharsToTwips, yLocation, Width * MyPageHelper.YMultiplier * ImageScaler, Height * MyPageHelper.YMultiplier * ImageScaler, DebugInfo, yBottomMargin, !MyItemInfo.FormatStepData.Type.Contains("Borderless")); } @@ -1353,6 +1357,8 @@ namespace Volian.Print.Library Width = sc.Step_ImageWidth; Height = sc.Step_ImageHeight; } + // B2017-241 Adjust Bottom Message Location for the figure + MyPageHelper.BottomContent = yLocation - (Height * MyPageHelper.YMultiplier); retval = Rtf2Pdf.FigureAt(cb, it_image, XOffset + MyItemInfo.FormatStepData.Font.CharsToTwips, yLocation, Width * MyPageHelper.YMultiplier, Height * MyPageHelper.YMultiplier, DebugInfo, yBottomMargin, !MyItemInfo.FormatStepData.Type.Contains("Borderless")); } }