SAMG Supplemental Information Facing pages

Create property versus variable for facing pages (prevents possible null crash)
This commit is contained in:
2017-07-05 13:48:40 +00:00
parent 3f31210ccf
commit 28a7d8e8ed
4 changed files with 6 additions and 3 deletions

View File

@@ -1623,8 +1623,7 @@ namespace Volian.Print.Library
{
if (section.StepSectPageBreaksForSupInfo == null) section.StepSectPageBreaksForSupInfo = new List<int>();
else section.StepSectPageBreaksForSupInfo.Clear();
if (section.StepSectPageBreaks == null) section.StepSectPageBreaks = new List<int>();
else section.StepSectPageBreaks.Clear();
section.StepSectPageBreaks.Clear();
}
// 792: 72 * 11 inches - TopRow - Top is high value
float _PointsPerPage = 792;