Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

PDF TABLE BORDERS MISSING

$
0
0
Hey - 

Have been working with PDF.Generator for a long time and are really happy with it!  We use it all over the place to generate pdf output .. and version 9.9.0.0 (ours) is WAY WAY faster than older versions.

One little problem that I'm having a hard time figuring out.  We are setting the BOTTOM BORDER of a cell to a line, and I am not seeing that border on the printed PDF.

The code to SET the border is below.  I swear this used to work before 9.9.0.0, but maybe it never did and I'm just now noticing?  Anyway - I'm hoping it's just cell padding or margin or something.

'Add row headings
Dim cRowHead As Pdf.Generator.Row = MainTbl.Rows.Add()
With cRowHead
For Each [... this is a loop of columns]
...
With cRowHead.Cells.Add(sTxt, TextInfo)
.Border = New Pdf.Generator.BorderInfo(Pdf.Generator.BorderSide.Bottom,  PDFFormat.Header1Color)
.Border.Bottom.LineWidth = .75
End With
Next
End With


** I've checked to make sure the variable  PDFFormat.Header1Color is set to black, and everything else in the output looks awesome!  Just the borders aren't showing up.

Do table rows or cells need padding/margin in order for borders to show?  Is there a table setting that might be messed up that would "hide" borders?  Any help would be great!

Viewing all articles
Browse latest Browse all 3131

Trending Articles