There are a lot of posts online about setting DPI awareness for a Winforms application by calling SetProcessDPIAware() (or by making some related changes to the application's manifest).  For example:
How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)?
However, I am unsure how and where to call SetProcessDPIAware() in a VSTO add-in for Excel, PowerPoint, etc. I have experimented with this for a while, but cannot get it working as the add-in's various Winforms are still not scaling correctly on high-DPI displays.
Can anyone provide guidance on how to implement DPI awareness in VSTO add-ins, specifically?
 
     
     
    