From a8a3453c841492e93c249a6410cb04f9445071a0 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 30 Mar 2012 10:56:29 +0000 Subject: [PATCH] --- PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 897919ba..db01bab2 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -159,6 +159,11 @@ namespace VEPROMS.CSLA.Library { return string.Format("{0}, {1} pt, {2}", Family, Size, Style); } + public bool FontIsProportional() + { + if (Family.Contains("Arial") || Family.Contains("Times New Roman")) return true; + return false; + } } #endregion #region FormatData @@ -4242,8 +4247,8 @@ namespace VEPROMS.CSLA.Library : base(xmlNode) { } - private LazyLoad _PosAdjust; - public int? PosAdjust + private LazyLoad _PosAdjust; + public float? PosAdjust { get {