【问题标题】:How to set icon size in Outlook 2010 add in c#如何在 C# 中添加 Outlook 2010 中的图标大小
【发布时间】:2013-06-24 07:40:09
【问题描述】:

我开发了一个 Outlook 2010 插件, 我有包含 Office.CommandBarButton 的 Office.CommandBars cmdBars, 我设置了 buttonTemp_Dial.Style = Office.MsoButtonStyle.msoButtonIconAndCaption 和 buttonTemp_Dial.Picture 参考了图标图片。 插件中的图标小了怎么改成大图标?

插件位于 Outlook 的单独选项卡中,有没有办法将插件放入“主页”选项卡?

【问题讨论】:

    标签: c#-4.0 outlook-addin outlook-2010


    【解决方案1】:

    如果您使用旧的基于 CommandBars 的 API,您的按钮将出现在 Addins 选项卡上,这可能不是您想要的。

    您的加载项(在低级别)需要实现 IRibbonExtensibility 接口并将您的自定义设置为 XML - 请参阅 http://msdn.microsoft.com/en-us/library/office/bb226712(v=office.12).aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-07
      • 1970-01-01
      • 2023-03-30
      • 1970-01-01
      • 1970-01-01
      • 2014-05-20
      相关资源
      最近更新 更多