diff --git a/PROMS/Formats/fmtall/WCNTRNall.xml b/PROMS/Formats/fmtall/WCNTRNall.xml index 0cac5ee0..2776e53f 100644 Binary files a/PROMS/Formats/fmtall/WCNTRNall.xml and b/PROMS/Formats/fmtall/WCNTRNall.xml differ diff --git a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs index b9846c45..e6a9abc4 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs @@ -237,6 +237,17 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CenterLineYBottom, "@CenterLineYBottom"); } } + private LazyLoad _CLineWidth; + [Category("CenterLine")] + [DisplayName("Line Width")] + [Description("Width of Lines Internal to Boxes")] + public float? CLineWidth + { + get + { + return LazyLoad(ref _CLineWidth, "@CLineWidth"); + } + } #endregion #region OptionalSectionContent [Category("Miscellaneous")] diff --git a/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs b/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs index c0f65d29..71baeb1c 100644 --- a/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs +++ b/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs @@ -454,6 +454,7 @@ namespace Volian.Print.Library cb.SaveState(); if (PageListLayer != null) cb.BeginLayer(PageListLayer); cb.SetColorStroke(new Color(PrintOverride.SvgColor)); + if (MySection.MyDocStyle.CLineWidth != null && MySection.MyDocStyle.CLineWidth != 0) cb.SetLineWidth((float)MySection.MyDocStyle.CLineWidth); //cb.SetColorStroke(lineColor); cb.MoveTo(left, yoff); cb.LineTo(right, yoff); @@ -483,7 +484,8 @@ namespace Volian.Print.Library //iTextSharp.text.Color lineColor = new iTextSharp.text.Color(PrintOverride.OverrideTextColor(System.Drawing.Color.DarkOrange)); cb.SaveState(); if (PageListLayer != null) cb.BeginLayer(PageListLayer); - cb.SetLineWidth(.95f); + float lwidth = MySection.MyDocStyle.CLineWidth ?? .95f; + cb.SetLineWidth(lwidth); cb.SetColorStroke(new Color(PrintOverride.SvgColor)); //cb.SetColorStroke(lineColor); cb.MoveTo(xLoc, yTop);