Change a Property name (Prefix) to (PathPrefix)

Added generic Properties (Prefix and Suffix) for vlnParagraph
Changed Rtf to be lazy-loaded using new method BuildRtf
This commit is contained in:
Rich
2014-09-05 14:29:20 +00:00
parent 4531a04db1
commit 8261a6bb55
2 changed files with 54 additions and 24 deletions

View File

@@ -1129,7 +1129,7 @@ namespace Volian.Print.Library
float yTopMargin = _PointsPerPage - (float)myItemInfo.MyDocStyle.Layout.TopMargin;
// the following line was modified to comment out the - 2 * SixLinesPerInch. this fixed a pagination problem with WCN EMG E-3.
float yBottomMargin = Math.Max(0, yTopMargin - (float)myItemInfo.MyDocStyle.Layout.PageLength); // - 2 * vlnPrintObject.SixLinesPerInch);
vlnParagraph.Prefix = myItemInfo.Path;
vlnParagraph.PathPrefix = myItemInfo.Path;
Rtf2Pdf.PdfDebug = true;
Rtf2Pdf.Offset = new PointF(0, 2.5F);
_MyHelper.ChangeBarDefinition = MyChangeBarDefinition;