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

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;