What I need is to insert a new line at the end of a text.
I try with run.Append(**new Break()**);
but this simulates to pressing (Shift+Enter) keys, and if I want a justified text the latest line autofits with lot of spaces between word and word...
And another problem I have is the default font and size in this "Breaks"/"New Lines". I try to "Appen" paragraph propierties in this run (wich contains the break)... but seems that is not allowed.
Try using CarriageReturn
instead.
run.Append(new CarrigeReturn());
http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.carriagereturn.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With