添加漸變效果 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 相關文檔連結 在 Github 上查看 相關教程 相關操作指南 類文檔 下載 IronWord DLL 回報此頁面的問題 準備好開始了嗎? Nuget 下載 25,807 | 版本: 2025.11 剛剛發布 免費 NuGet 下載 總下載量:25,807 查看許可證