For Google rankings optimize, it is nessesary to determen the pixel width in stead of chacaters width.
Somebody know a function that can do that ?
Getfield : "This is a test"
14 chars, but how many pixels
Google pixels versus characters
- Marc Venken
- Posts: 1485
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
- Antonio Linares
- Site Admin
- Posts: 42595
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 38 times
- Been thanked: 86 times
- Contact:
Re: Google pixels versus characters
Dear Marc,
FWH provides function GetTextWidth( hDC, szText [,hFont], [@nHeight] ) --> nPixelsWidth
FWH provides function GetTextWidth( hDC, szText [,hFont], [@nHeight] ) --> nPixelsWidth