Text justified

HI! i WANT TO KNOW WHAT METHOD THAT I NEED TO DO THAT THE TEXT IN WORD APPEARS JUTIFIED… please can you help me?

Hi Rod,

Thanks for your inquiry. To justify text in the document you should specify ParagraphAlignment of each paragraph like shown below:

Document doc = new Document(@"C:\Temp\in.docx");
NodeCollection paragraphs = doc.GetChildNodes(NodeType.Paragraph, true);
foreach (Paragraph paragraph in paragraphs)
    paragraph.ParagraphFormat.Alignment = ParagraphAlignment.Justify;
doc.Save(@"C:\Temp\out.docx");

Please let me know if I can be of any further assistance.

Best regards,