B2020-121: pagination/location of BGE Alarms, Condition Response Caution/Notes
This commit is contained in:
@@ -10,6 +10,9 @@ namespace Volian.Print.Library
|
||||
{
|
||||
public partial class vlnMacro : vlnPrintObject
|
||||
{
|
||||
private bool _UseInternalY = false;
|
||||
// B2020-121: Account for Header on Caution or Note
|
||||
public bool UseInternalY { get => _UseInternalY; set => _UseInternalY = value; }
|
||||
private string _MacroDef;
|
||||
public string MacroDef
|
||||
{
|
||||
@@ -27,6 +30,7 @@ namespace Volian.Print.Library
|
||||
cb.SaveState();
|
||||
MyContentByte = cb;
|
||||
float yLocation = CalculateYOffset(yPageStart, yTopMargin);
|
||||
if (UseInternalY) yLocation = YOffset; // B2020-121: Account for Header on Caution or Note
|
||||
// Adjust the starting point for the Macro if the LPI is 7
|
||||
if (MyPageHelper.YMultiplier != 1) yLocation += SixLinesPerInch - _SevenLinesPerInch;
|
||||
VlnSvgPageHelper _MyPageHelper = cb.PdfWriter.PageEvent as VlnSvgPageHelper;
|
||||
|
Reference in New Issue
Block a user