使用VSTO在功能区中显示徽标或图像 [英] Display logo or image in the Ribbon using VSTO

查看:205
本文介绍了使用VSTO在功能区中显示徽标或图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VSTO在Excel中自定义功能区.我想在丝带中显示邮票大小的徽标.我尝试了不够明显的按钮.徽标中有一些文字,当我使用按钮时无法阅读.

I am customizing a ribbon in the Excel using VSTO. I want to display a logo which is of stamp size in a ribbon. I tried the button which is not visible enough. The logo has some text in it and could not read when I use button.

有什么建议吗?

推荐答案

VBA命令栏可以显示图像,但是不幸的是,Microsoft没有任何控件可以使用VSTO在Ribbon中显示图像.但是我使用了一个按钮并使其禁用,并且显示的图像仍然不如VBA很好.

VBA command bar has the option to display image but unfortunately Microsoft doesn't have any controls to display image in Ribbon using VSTO. But I used a button and made it disabled ever and displayed image still it is not nice as VBA.

这篇关于使用VSTO在功能区中显示徽标或图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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