Add Reflection Effect
Let's create a new Word document and add text with a reflection effect to it. Initially, a new WordDocument object named doc
is created. A TextStyle
object is then instantiated and configured to include a reflection effect by setting its TextEffect
property to a new Reflection
object. The styled text "Hello World" is added to the document with the reflection effect applied. Finally, the document is saved.