J
JOCA
Folks,
I am trying to determine programmatically the length (in inches, pixels or
any distance measure) of a given text selection (or line). For example:
THE QUICK BROWN FOX. . when typed in capitalized letters takes more
screen space than.
the quick brown fox . when typed in lower caps. Also, the bold version
of it
the quick brown fox .takes a little more screen space than the non-bold
version..
The above is also true for text strings containing different characters. For
example:
Mmmmmmmmmm . takes more screen space than
iiiiiiiiii
So far I know how to get the length of a selected text (in characters) using
the following line:
Selection.Characters.Count
Can someone tell me how to get the length (distance) of a given text line in
the screen ? I don't care if it is in inches, pixels, or centimeters.
Thanks in advance.
JOCA
I am trying to determine programmatically the length (in inches, pixels or
any distance measure) of a given text selection (or line). For example:
THE QUICK BROWN FOX. . when typed in capitalized letters takes more
screen space than.
the quick brown fox . when typed in lower caps. Also, the bold version
of it
the quick brown fox .takes a little more screen space than the non-bold
version..
The above is also true for text strings containing different characters. For
example:
Mmmmmmmmmm . takes more screen space than
iiiiiiiiii
So far I know how to get the length of a selected text (in characters) using
the following line:
Selection.Characters.Count
Can someone tell me how to get the length (distance) of a given text line in
the screen ? I don't care if it is in inches, pixels, or centimeters.
Thanks in advance.
JOCA