Added MaxWidth property that allows for defining width of PSI data and supports multi-line text (introduced for wstalr)
Adjust top margin for multiline pagelist items (introduced for wstalr) Support multi-line PSI item, using ‘MaxWidth’ pagelist property (introduced for wstalr)
This commit is contained in:
@@ -1410,6 +1410,7 @@ namespace Volian.Print.Library
|
||||
// 792: 72 * 11 inches - TopRow - Top is high value
|
||||
float _PointsPerPage = 792;
|
||||
float yTopMargin = _PointsPerPage - (float)myItemInfo.MyDocStyle.Layout.TopMargin;
|
||||
yTopMargin -= _MyHelper.AdjustTopMarginForMultiLinePageListItems;
|
||||
// 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.PathPrefix = myItemInfo.Path;
|
||||
|
Reference in New Issue
Block a user