VB.NET Detect if labels text is overflowing and decrease font size to fit contents
I have a label which has its text changed at run time. I have set AutoEllipsis set to true to stop the text going off the side of the label. But sometimes if the text is too long it goes off the bottom of the label instead. How can I detect if this has happened and adjust the font size so that all of the text fits?