| Subject |
Re: Metric conversion |
| From |
Mervyn Bick <invalid@invalid.invalid> |
| Date |
Sun, 26 Mar 2023 10:23:43 +0200 |
| Newsgroups |
dbase.getting-started |
On 2023/03/25 22:16, Tom wrote:
> Too late Mervyn. That is exactly how I went about figuring out what I
> wanted. I did spend a bit of time scratching my head about why the
> startup window with metric of characters with a height of 16 and a width
> of 40 could possibly be taller than it was wide when ,to my eye, the
> opposite was true. I made the assumption that both dimensions would have
> the same conversion factor. My error.
>
> If anyone might have use for it ...
>
> multiply a character metric object's width by 7 to get pixel width
>
> multiply a character metric object's height by 22 to get pixel height
>
> Thanks for your response.
As Richard has pointed out, those values are only valid where the form's
scaleFontName property is set to Arial and the scaleFontSize is set to 10.
How are you going to use the values now that you have them?
Mervyn.
|
|