Vincent Parrett 765 Posted May 26, 2021 Anyone know of a better way to determine the width as it would be displayed. Canvas.TextWidth is consistently giving back too a value that is around 15-20% too small. I'm using this in a custom control and have assigned the control's font to the canvas.. all to no avail. I have spent at least an hour searching for answers to this but got nowhere. I feel like I must be missing something obvious? Share this post Link to post
Vincent Parrett 765 Posted May 26, 2021 Solved - the font style was being changed elsewhere which was causing TextWidth to return the value for a different font style! 🤦♂️ Share this post Link to post