--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/8dcc8a40-3c93-4878-81ae-2cac00dd5dbbn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/CABCjBXNpUSnrYmA5-r9v7Zv5uVvM0QyfQMGX3WJ8otJ8fnW7pA%40mail.gmail.com.
Hi Joachim,
You just need to add a reference to the System.Windows.Forms assembly to make it available.
That adds no overhead to your add-in, since Excel-DNA loads and uses this assembly anyway.
This will not interfere with your WPF forms either.
-Govert
From: 'Joachim Hussong' via Excel-DNA <exce...@googlegroups.com>
Sent: 6 October 2022 10:40
To: exce...@googlegroups.com
Subject: Re: [ExcelDna] Re: Ribbon Image in SDK-Style Projects
Hi Govert,
the issue is that System.Drawing does not contain a "Bitmap" in WPF. System.Drawing.Bitmap is only Winforms.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/CAEWH4FLjGeJZ%2Bp_zh2YvbJzEXahx7krQPkS-EJPUPaMTV%2B18%2BQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/00c801d8d967%2481064400%248312cc00%24%40gmail.com.