B2020-115 Calculate maximum available space on a page for figures
This commit is contained in:
parent
3b1a01df4e
commit
10b6dcfef6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user