How can I copy styles from a paragraph to another

Nov 17, 2014 at 10:17 AM
Hello

I have got some tables in a word document with somes styles, the point is that I insert row when I select the table with the library, but the new row created loss the style of the last row of the table. I want copy styles from a paragraph to another to preserve the styles without set all parameters one by one.

Is this possible?
Nov 17, 2014 at 11:02 AM
I found this solution:

c2.Paragraphs[0].StyleName = c1.Paragraphs[0].StyleName

It works, but in some cases there is added an italic style, i don't know if it is a problem of my document or the library.