This project has moved. For the latest updates, please go here.

Using a Custom Image in the Ribbon

Aug 16, 2012 at 4:46 PM

Are there any example files for showing a custom image in the ribbon? I've been trying to use this site as a guide: http://msdn.microsoft.com/en-us/library/aa338202%28v=office.12%29.aspx#OfficeCustomizingRibbonUIforDevelopers_Images. However, I haven't had any success yet. I'm not sure it differs for NetOffice, but it would be helpful to have a NetOffice specific example.

Specifically, I wasn't able to refer to GetIPictureDispFromPicture event after Importing AxHost. I also found the page to be very confusing.

Coordinator
Aug 18, 2012 at 12:44 AM

hello,

you have to create the IconConverter and add references to OLE Automation(COM) and System.Drawing
as next step you to modify the .xml file and add the GetImage method to your addin. i create a sample project for you
please checkout:

http://netoffice.codeplex.com/wikipage?title=Download%20Page