[英]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.