none
How to create a DPIAware Word Addin RRS feed

  • Question

  • Hi to all,

    I'm developing a Word AddIn based on Word 2007 with Visual Studio 2010 and Visual Basic.

    It's possible to declare my AddIn DPIAware and therefore independent of the value of the system DPI ?

    Thanks for any help.

    Tuesday, May 10, 2011 1:46 PM

Answers

  • Hello Fabrizio,

    a Dll does what it does. Ther's no special setting to declare an AddIN as "DPIAware".
    You need to find out the current DPI-Setting of the System and programm your code so that it can handle it correctly.

    On a WinForm there are settings for AutoScaling and other relates stuff. I'm not a specialist in that technology.

    See if that article helps:

    http://msdn.microsoft.com/de-de/library/ms229605.aspx

     

    Greets - Helmut


    Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]
    Wednesday, May 11, 2011 6:45 AM
    Answerer