diff --git a/PROMS/Volian.Print.Library/Grid2Pdf.cs b/PROMS/Volian.Print.Library/Grid2Pdf.cs index e96baaa6..facff77e 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -35,9 +35,11 @@ namespace Volian.Print.Library get { return _MyFlexGrid; } set { _MyFlexGrid = value; } } + private VlnBorders _MyBorders; public VlnBorders MyBorders { - get { return _MyFlexGrid.MyBorders; } + get { return _MyBorders; } + set { _MyBorders = value; } } private iTextSharp.text.pdf.PdfContentByte _MyContentByte; public iTextSharp.text.pdf.PdfContentByte MyContentByte @@ -173,13 +175,14 @@ namespace Volian.Print.Library SetupCells(); foreach(vlnCell cell in this) { + myTable.MyBorders = VlnBorders.Get(myFlexGrid.MyBorders.ConvertToString()); GridLinePattern glp = cell.AboveLeftSide; glp = cell.AboveRightSide; glp = cell.BelowLeftSide; glp = cell.BelowRightSide; glp = cell.RightOfBottomSide; glp = cell.RightOfTopSide; - object ta = cell.TextAlign; + object ta = cell.TextAlign; } } #endregion