TMSFNCWXDocx1 paragraph.spacing

I can´t get the spacing work as I want. Regardless what I set the After or Before to, there is no change. What am I missing?

 TMSFNCWXDocx1.Document.Sections.Clear;
  section := TMSFNCWXDocx1.Document.AddSection;
  paragraph := section.AddParagraph;
  paragraph.Heading := hlHeading1;
  parText:=paragraph.AddText('Titel 1');
  paragraph.Spacing.After:=10;

Hi,

I tested it with different values and it seems to work here. I did notice however that 10 might just be too low a value to be noticed.

With kind regards

:- ) Yeah, I tried with 1000 and now I can see the differende.

Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.