添加陰影效果 A shadow effect can be added to text within a Word document with just a few lines of code. For completeness, let's first initialize a new WordDocument instance called doc. Then, a TextStyle object is created and configured to incorporate a shadow effect by assigning the Shadow.OuterShadow1 static named instance to the TextEffect property. The text "Hello World" is added to the document using the configured textStyle. Finally, export the Word document. For more examples and demonstrations, please navigate to the following article: How to Add Shadow Effect to Text Explore Document Elements with IronWord Tutorials. 相關文檔連結 在 Github 上查看 相關教程 相關操作指南 類文檔 下載 IronWord DLL 回報此頁面的問題 準備好開始了嗎? Nuget 下載 25,807 | 版本: 2025.11 剛剛發布 免費 NuGet 下載 總下載量:25,807 查看許可證