|
-
November 14th, 1999, 06:00 AM
#1
How to calculate Text Width?
How can i evaluated text width?
-
November 14th, 1999, 08:29 AM
#2
Re: How to calculate Text Width?
-
November 14th, 1999, 09:43 AM
#3
Re: How to calculate Text Width?
I don't need the length of the string, i need the lengt of the string in pixels or twips
-
November 15th, 1999, 12:12 AM
#4
Re: How to calculate Text Width?
Hi....
There are some function called textwidth and textheight. But before you use them, ypu have to tell computer about the font and font size so that textwidth and textheight could be calculated. Given below is a small example of using them.
...
...
Printer.FontBold = true
Printer.FontSize = 16
Msg = "We all are computer professioanals let us help each other."
textWidth = Printer.TextWidth(Msg)
...
...
...
textwidth and textheight work with printer, form and picture object.
I hope this answer the query.
Santulan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|