table content linespacing
Posted: Tue Sep 20, 2022 11:09 am
Hellow !
How can i doubled linespacing in table
this doesn't work out.
How can i doubled linespacing in table

Code: Select all
Table := aDocument.Paras.InsertTableAtPos(sel.FirstPos);
Table.Name := vAliasName
table.AddRows(2, 3);
for j := 0 to 2 do
begin
Table.Cells[0, j].Paras.PlainText := 'row ' + intToStr(j) + 'column 0';
Table.Cells[1, j].Paras.PlainText := 'row ' + intToStr(j) + 'column 1';
end
TableFormat:= TAXWPAPX.Create(aDocument.MasterPAP);
TableFormat.LineSpacing := 2;
Table.Paras.ApplyParaFormat(TableFormat, Table.FirstPara, Table.LastPara)