locked
In word 2013, how to change the height of a paragraph? RRS feed

  • Question

  • Hi everyone ,I want to know whether there is a way to change the height of a paragraph in word 2013. In C#.
    Thursday, May 7, 2015 2:07 AM

Answers

  • It seems that there is no direct property to set the height of a paragraph, but you can try to adjust the size of font and change the linespace and beforespace and afterspace of the paragraph.

    You can have a try of this free doc component and use the following code:

    Paragraph.Format.LineSpacing = 20;

    Paragraph.Format.AfterSpacing = 30;
    Paragraph.Format.BeforeSpacing = 10;

    • Marked as answer by L.Hl Tuesday, May 19, 2015 12:06 AM
    Thursday, May 7, 2015 2:22 AM