(B2014-095) Added a BackSpaceSize format variable off PrintData

(B2014-095) Use BackSpaceSize
This commit is contained in:
Kathy Ruffing 2014-08-28 15:22:31 +00:00
parent 62f9f4f04c
commit c99b216e51
2 changed files with 9 additions and 1 deletions

View File

@ -649,6 +649,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _DoPrnDrvrAdjusts, "@DoPrnDrvrAdjusts"); return LazyLoad(ref _DoPrnDrvrAdjusts, "@DoPrnDrvrAdjusts");
} }
} }
private LazyLoad<float?> _BackSpaceSize;
public float? BackSpaceSize
{
get
{
return LazyLoad(ref _BackSpaceSize, "@BackSpaceSize");
}
}
private LazyLoad<string> _TopOfPageThing; private LazyLoad<string> _TopOfPageThing;
public string TopOfPageThing public string TopOfPageThing
{ {

View File

@ -2342,7 +2342,7 @@ namespace Volian.Print.Library
// Need the following with some modifications for WCNCKL format: // Need the following with some modifications for WCNCKL format:
if (Rtf.Contains("{Backspace}")) if (Rtf.Contains("{Backspace}"))
{ {
XOffset -= 25; XOffset -= (formatInfo.PlantFormat.FormatData.PrintData.BackSpaceSize??25);
Width += 24; Width += 24;
Rtf = Rtf.Replace("{Backspace}", ""); Rtf = Rtf.Replace("{Backspace}", "");
} }