Add line width, CLineWidth for lines internal to training format
Add line width, CLineWidth for horizontal & centerline (WCNTRN) Use docstyle’s CLineWidth for horizontal & centerlines, if defined )WCNTRN)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user