diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 54236532..168b90b0 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -817,6 +817,9 @@ namespace Volian.Print.Library bool firstStepSec = true; foreach (SectionInfo mySection in myProcedure.Sections) { + // B2020-115 Calculate maximum available space on a page for figures + vlnParagraph.hMax = ((float)mySection.MyDocStyle.Layout.PageLength); + vlnParagraph.wMax = ((float) mySection.MyDocStyle.Layout.PageWidth)- ((float) mySection.MyDocStyle.Layout.LeftMargin - 12); NeedSupInfoBreak = true; bool isFoldoutSection = (mySection.MyConfig as SectionConfig).Section_IsFoldout == "Y"; //C2019-042 Section_IsFoldout checks Section Number, Section Title, and use of check box if (((isFoldoutSection && myProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.SectionLevelFoldouts)