Go Back   MarcomCentral (PTI) and FusionPro User Communities > Support > Issues, Questions, Etc.

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 12th, 2018, 03:54 PM
Kal's Avatar
Kal Kal is offline
Regular Contributor
 
Join Date: Jun 2011
Location: Canada
Posts: 56
Default Table height issue

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();
Attached Files
File Type: zip Table-Issue.zip (6.97 MB, 5 views)
__________________
Kal Bedi
FusionPro Desktop 10.1.9
Adobe Acrobat Pro DC
Mac OS Sierra 10.12.5
Canada
Reply With Quote
  #2  
Old December 13th, 2018, 07:34 AM
Kal's Avatar
Kal Kal is offline
Regular Contributor
 
Join Date: Jun 2011
Location: Canada
Posts: 56
Default Re: Table height issue

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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.