SAMG Supplemental Information Facing pages
Create property versus variable for facing pages (prevents possible null crash)
This commit is contained in:
parent
3f31210ccf
commit
28a7d8e8ed
BIN
PROMS/Formats/fmtall/wstsamall.xml
Normal file
BIN
PROMS/Formats/fmtall/wstsamall.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/genmacall/wstsam.svg
Normal file
BIN
PROMS/Formats/genmacall/wstsam.svg
Normal file
Binary file not shown.
@ -6935,7 +6935,11 @@ namespace VEPROMS.CSLA.Library
|
||||
private List<int> _StepSectPageBreaks = null;
|
||||
public List<int> StepSectPageBreaks
|
||||
{
|
||||
get { return _StepSectPageBreaks; }
|
||||
get
|
||||
{
|
||||
if (_StepSectPageBreaks == null) _StepSectPageBreaks = new List<int>();
|
||||
return _StepSectPageBreaks;
|
||||
}
|
||||
set { _StepSectPageBreaks = value; }
|
||||
}
|
||||
// Determine if this section contains any Supplemental information steps. This is used for print to determine
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user