#1
|
||||
|
||||
![]()
I need to adjust the height to a minimum for the top and bottom and just can't get it. Here is the script and I attached a sample file.
var myTable = new FPTable; myTable.AddColumns(37400, 12300); for (var i = 1; i <= 5; i++) { if (!Field("PD_S" + i)) continue; var row = myTable.AddRow(); var cell = row.Cells[0]; var Table =row.Cells[0].SetBorders("Very Thin", "Black", "Top", "Bottom", "Right", "Left"); var Table =row.Cells[1].SetBorders("Very Thin", "Black", "Top", "Bottom", "Right", "Left"); cell.Font="Arial"; cell.PointSize="8"; cell.TextColor="Black"; cell.Margins = new FPTableMargins; cell.Margins.Top = 0; cell.Margins.Bottom = 0; myTable.Rows[0].Cells[0].HAlign = "Top"; myTable.Rows[0].Cells[0].VAlign = "Bottom"; cell.Content = Field("PD_S" + i); cell = row.Cells[1]; cell.Content = Field("PD_PH_S" + i); } return myTable.MakeTags();
__________________
Kal Bedi FusionPro Desktop 10.1.9 Adobe Acrobat Pro DC Mac OS Sierra 10.12.5 Canada |
#2
|
||||
|
||||
![]()
Just to be a little more clear. I want to reduce the margin space above and below the variable text in the table.
__________________
Kal Bedi FusionPro Desktop 10.1.9 Adobe Acrobat Pro DC Mac OS Sierra 10.12.5 Canada |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|