Using a Custom Image in the Ribbon

Aug 16, 2012 at 3: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: 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.

Aug 17, 2012 at 11:44 PM


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: