简体   繁体   中英

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. 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.

Use

int Down= label1.Bottom;

or

int Down= label1.Top+label1.Height;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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