添加阴影效果 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 查看许可证