diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 1c2f91a4..cc652b8d 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -299,6 +299,10 @@ namespace Volian.Print.Library } private string PrintProcedureOrFoldout(ProcedureInfo myProcedure, bool doingFoldout, string outputFileName) { + // The following line accounts for 16bit OverrideLeftMargin when the 'Absolute' attribute is used in the genmac. + // We don't want to use the OverrideLeftMargin when 'Absolute' is used in the genmac. + // It's set here because the Volian.Svg.Library cannot call back to Volian.Print.Library to get this value. + Svg.Library.Svg.AbsoluteOffset = new PointF(2 * 72F / (float)myProcedure.ActiveFormat.PlantFormat.FormatData.Font.CPI, -9.5F); // Create an MSWord Pdf // Setup a pdf Document for printing OnStatusChanged("Before OpenDoc", PromsPrinterStatusType.Before);