General information
Category:
Coding, syntax & commands
1 point = 1/72 Inches therefore 72 points = 1 Inch.
An simple way to get the approx. length of the text would be to use the VFP TxtWidth function and apply the maths above.
lnPixelsX = txtwidth(lcString, lcFontName, lnFontSize) * ;
fontmetric(6, lcFontName, lnFontSize)
lnInchesX = lnPixelsX / 72
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only