无法通过IDispatch调用具有System.Color参数或返回类型的方法。 [英] Methods with System.Color parameters or return type cannot be invoked via IDispatch.

查看:75
本文介绍了无法通过IDispatch调用具有System.Color参数或返回类型的方法。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Graph创建一个滑动功率点然后显示此错误。

i create a power point slid with Graph then show this error .

Methods with System.Color parameters or return type cannot be invoked via IDispatch.

推荐答案

像这样使用:我解决了我的问题这个代码。



Use like this : i solved my problem this code .

System.Drawing.ColorTranslator.ToOle( System.Drawing.Color.FromArgb(173, 216, 230));


这篇关于无法通过IDispatch调用具有System.Color参数或返回类型的方法。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆