开发者

vb.net images with Windows medium font

We have a vb.net desktop application that uses a number of gra开发者_Python百科phical images. All is well when the Windows Display is set to the default small font; however, when the display is set to the medium (125%) font, the graphical images don't display properly. We can accommodate the changes to windows sizes and text boxes, etc using autoscale and autosize; however, this doesn't help with images. Is there any way to overcome this issue?

Thanks.


The controls and maybe the form containing the images are probably changing sizes when the font size changes. Make sure the size of the control containing the image does not change when the font size changes.


On the windows form set the following properties:

autosize = true

autoscalemode = dpi

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜