Length of a String
Hi All -
I have a VB.NET app that produces a PS file containing text and graphics. I need to keep track, in my VB app, of where some text has printed. Specifically, I have a block of text which will need to be parsed into multiple lines to fit into a fixed width column. So I would like to figure out how much of the text I can print on the current line before going to the next line. So I need to know the printed width of a given chunk of text.
Is there any way for VB to calculate or somehow get (through a call to ??) the 'stringwidth' of a string of text for a given font?
Thanks for your thoughts. Bob
