Add Gradient Effect The above code demonstrates how to apply a gradient effect to text. First, it creates a new Word document. Then, it creates a TextStyle object and configures it to use a gradient effect by assigning the Gradient.DefaultGray preset to the GradientEffect property. This configured TextStyle is then applied to the text "Hello World" which is added to the document. Finally, the new Word document is exported. For more examples and demonstrations, please navigate to the following article: How to Add Gradient Effect to Text. Explore More Word Document Element Tutorials Here Related Docs Links View on Github Related Tutorial Related How-To Guide Class Documentation Download IronWord DLL Report an Issue on this page Ready to Get Started? Nuget Downloads 25,549 | Version: 2025.11 just released Free NuGet Download Total downloads: 25,549 View Licenses