B2018-146 Added logic to keep the Right Margin consistent in Background Text for WCN

This commit is contained in:
Rich
2018-11-09 18:43:09 +00:00
parent a6ecdda3d6
commit 0714394480
2 changed files with 38 additions and 6 deletions

View File

@@ -160,7 +160,18 @@ namespace Volian.Print.Library
public float Width
{
get { return _Width; }
set { _Width = value; }
set
{
// Debug B2018-146 - Check to see what is setting the width
//if (this is vlnParagraph && (this as vlnParagraph).MyItemInfo.InList(1986333, 1986334, 1986335))
// Console.WriteLine("here");
//if (this is vlnParagraph)
//if ((this as vlnParagraph).MyItemInfo.InList(1986333))
//Console.WriteLine("{0} Width {1} Right {2} Right Margin {3}", (this as vlnParagraph).MyItemInfo.ItemID, value,
//value + this.XOffset, (this as vlnParagraph).MyItemInfo.MyDocStyle.Layout.PageWidth -
//(this as vlnParagraph).MyItemInfo.MyDocStyle.Layout.LeftMargin);
_Width = value;
}
}
protected float _Height;
public virtual float Height