本文介绍了使用C#VSTO在PowerPoing中设置透视阴影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 您好, 我正在尝试使用VSTO C#为文本设置透视阴影,但我无法这样做。我试着设置文本的msoTristate属性如下: shape.TextFrame.TextRange.Paragraphs [j] .Font.Shadow 这套只有一种阴影。 我也尝试设置ShadowFormat属性,如下所示: shape.TextFrame2.TextRange.Paragraphs [ j] .Font.Shadow.Blur //工作正常 shape.TextFrame2.TextRange.Paragraphs [j] .Font.Shadow.Type //抛出异常 我只能获得一种阴影,但我正试图获得透视阴影。请帮忙。在此先感谢。解决方案 Hello,I am trying to set perspective shadows for text using VSTO C# and am unable to do so. I tried to set msoTristate property of the text as below:shape.TextFrame.TextRange.Paragraphs[j].Font.ShadowThis sets up only one kind of a shadow.I also tried to set the ShadowFormat properties as shown below:shape.TextFrame2.TextRange.Paragraphs[j].Font.Shadow.Blur //works fineshape.TextFrame2.TextRange.Paragraphs[j].Font.Shadow.Type //throws an exceptionI am able to get only one kind of shadow but am trying to get perspective shadows. Please help. Thanks in advance. 解决方案 这篇关于使用C#VSTO在PowerPoing中设置透视阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-15 08:11