I need to change the image size based on DPI scaling. In my project, i'm using "ToolStripDropDownItem" with images. I'm having different size images for 100DPI and 175 DPI. In 100 DPI (12 * 12 image is using), its working fine.
In 175 DPI, i'm setting another size (24*24)image, its not working fine. It displays as shown in below image. Actually its not original image i think. ToolStrip automatically scaling the image from 100 DPI i think (I don't want it).
Is there any possibility to change the images based on DPI factor?
topBorderToolStripMenu.ImageAlign = ContentAlignment.MiddleLeft;
topBorderToolStripMenu.ImageScaling = ToolStripItemImageScaling.None;
topBorderToolStripMenu.Size = new Size(225,25);
topBorderToolStripMenu.AutoSize = false;
Please find the issue snap shot