LineSpacing between table and text does not work

General TRichView support forum. Please post your questions here
Post Reply
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

LineSpacing between table and text does not work

Post by wolf1860 »

Code: Select all

  rve.ClearUndo;
  rve.DeleteUnusedStyles(True, True, True);
  for var i := 0 to rve.Style.ParaStyles.Count - 1 do
  begin
    rve.Style.ParaStyles[i].LineSpacingType := rvlsPercent;
    rve.Style.ParaStyles[i].LineSpacing := 150;
  end;
  rve.Format;
Image
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: LineSpacing between table and text does not work

Post by Sergey Tkachenko »

Line spacing is not applied to tables. Use SpaceAfter property instead.
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

Re: LineSpacing between table and text does not work

Post by wolf1860 »

Thank u!
Post Reply