Added logic to eliminate WordWrap differences that occur due to 16-Bit issues where the last line in a paragraph wraps at one character wider than the rest of the paragraph. For 32-bit this is only done when printing in Debug mode.

Add PromsPrinter to constructor for VlnPageHelper
This commit is contained in:
Rich
2012-05-10 15:45:34 +00:00
parent b0a8ee1625
commit 3b54c091c9
2 changed files with 43 additions and 1 deletions

View File

@@ -408,9 +408,16 @@ namespace Volian.Print.Library
vcb.YChangeBarBottomExtend >= (cb.YChangeBarBottomExtend - vlnPrintObject.SixLinesPerInch)) return true;
return false;
}
public VlnSvgPageHelper(VEPROMS.CSLA.Library.SectionInfo mySection) : base()
private PromsPrinter _MyPromsPrinter;
public PromsPrinter MyPromsPrinter
{
get { return _MyPromsPrinter; }
set { _MyPromsPrinter = value; }
}
public VlnSvgPageHelper(VEPROMS.CSLA.Library.SectionInfo mySection,PromsPrinter myPromsPrinter) : base()
{
MySection = mySection;
MyPromsPrinter = myPromsPrinter;
}
private Volian.Svg.Library.Svg BuildSvg(VEPROMS.CSLA.Library.SectionInfo mySection)
{