[英]how to find ending position of label with respect to y-axis
我们可以使用标签的属性找到标签的左、右和顶位置。 我们如何找到标签相对于 y 轴的结束位置。 当我们找到顶部位置以及如何找到向下位置时。
int t=label1.Top; //it works how i can find int e=label1.End; //or int d=label1.Down;
标签结束的位置。 y 的平均值最大值。
用
int Down= label1.Bottom;
或者
int Down= label1.Top+label1.Height;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.