Kal Posted November 21, 2013 Share Posted November 21, 2013 How do you control the leading in a table? I tighten up the spacing. Quote Link to comment Share on other sites More sharing options...
Alex Marshall Posted November 21, 2013 Share Posted November 21, 2013 The table rows want to automatically size to fit their contents. You might be able to use a <leading newsize> tag to adjust the amount of leading the text in the cells you are using. Quote Link to comment Share on other sites More sharing options...
Kal Posted November 21, 2013 Author Share Posted November 21, 2013 Need a little more help, first time working with tables. I have 3 rows that I want to tighten up the spacing in between each row Here is what I have: ----------------------------- new FPTable; var myTable = new FPTable; myTable.AddColumns(0, 12500, 8000, 8000, 8000, 8000, 10000); myTable.AddRows(3); //Font myTable.Rows[0].Cells[0].Font="BellSlim Regular"; //1st Row myTable.Rows[0].Cells[1].Content = Field("PD_PH_PREFIX"); myTable.Rows[0].Cells[2].Content = Field("PD_PHONES1"); myTable.Rows[0].Cells[3].Content = Field("PD_PHONES2"); myTable.Rows[0].Cells[4].Content = Field("PD_PHONES3"); myTable.Rows[0].Cells[5].Content = Field("PD_PHONES4"); myTable.Rows[0].Cells[6].Content = Field("PD_PHONES5"); //2nd Row myTable.Rows[1].Cells[2].Content = Field("PD_PHONES6"); myTable.Rows[1].Cells[3].Content = Field("PD_PHONES7"); myTable.Rows[1].Cells[4].Content = Field("PD_PHONES8"); myTable.Rows[1].Cells[5].Content = Field("PD_PHONES9"); myTable.Rows[1].Cells[6].Content = Field("PD_PHONES10"); //3rd Row myTable.Rows[2].Cells[2].Content = Field("PD_PHONES11"); myTable.Rows[2].Cells[3].Content = Field("PD_PHONES12"); myTable.Rows[2].Cells[4].Content = Field("PD_PHONES13"); myTable.Rows[2].Cells[5].Content = Field("PD_PHONES14"); myTable.Rows[2].Cells[6].Content = Field("PD_PH_SUFFIX"); return myTable.MakeTags(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.