Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Form drawstring problem

$
0
0
Hi all

So I have a challenge to use a getpointsize method to find the biggest size font I can use to display a string in a form.

I'm guessing as all the other challenges has been to allow the form to change size by user and everything else resizes but I don't quite know how to look at the form size say 400x400 and how to go about looking to see what size will be the largest to fit.

Is there some kind of command to check if my string fits in the form?

Thanks

Viewing all articles
Browse latest Browse all 51036

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>