简体   繁体   English

如何找到标签相对于 y 轴的结束位置

[英]how to find ending position of label with respect to y-axis

we can find the Left, Right and the Top position of the label by using its properties.我们可以使用标签的属性找到标签的左、右和顶位置。 how we can find where a label is end with respect to y-axis.我们如何找到标签相对于 y 轴的结束位置。 as we find top position and how to find down position.当我们找到顶部位置以及如何找到向下位置时。

int t=label1.Top; //it works how i can find int e=label1.End; //or int d=label1.Down;

Position of label where it ends.标签结束的位置。 Mean Maximum value of y. y 的平均值最大值。

Use

int Down= label1.Bottom;

or或者

int Down= label1.Top+label1.Height;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM