Add Style Text
The code uses the IronWord library to manipulate a DOCX document by first loading an existing document into a WordDocument object. Then adds a Text and applies various styles, including a specific font family, font size, red text color, and multiple text effects. Next, it creates a new Paragraph object and adds the styled text to this paragraph. The paragraph is then added to the Word document. Finally save the modified document as a new document.