将图像添加到标签后...无法将其调整为标签的中心 [英] After adding an image to a label ...unable to adjust it the centre of the label

查看:63
本文介绍了将图像添加到标签后...无法将其调整为标签的中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c#中添加了一个标签,但无法调整到中心,因此只能看到部分图像。可以帮助我一些人......先谢谢你了div class =h2_lin>解决方案

将AutoSize设置为false,然后将标签拖动到合适的大小。

Label控件默认为MiddleCenter的ImageAlign,所以应该自动将图像放在中间。


I added an image to a label in c# but unable to adjust to the centre thereby part of the image is only visible .Could some one help me out .....Thanks in Advance

解决方案

Set AutoSize to false, then drag the label to a suitable size.
The Label control defaults to an ImageAlign of MiddleCenter so it should automatically place the image in the middle.


这篇关于将图像添加到标签后...无法将其调整为标签的中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆