Add Glow Effect
The above code snippet demonstrates how to create a new Word document and apply a text style with a glow effect. First, a new Word document is instantiated and stored in the variable doc. Then, a new TextStyle object named textStyle is created. This text style is configured to include a glow effect by initializing a TextEffect object with specific settings. The text "Hello World" is added to the document, and the textStyle with the glow effect is applied to this text. Finally, the Word document is exported a new file.
For more examples and demonstrations, please navigate to the following article: How to Add Glow Effect to Text.