Font Size Help

T

tsract

Hello All,

This is a general question about fonts. I'm simulating a watermark by using
a shape object and inserting text using c++

Getting the text in there is not a problem. However, the text that gets
inserted changes from Workbook to workbook and I need to size the bounding
Rectangle properly.

How do I determine the length of a piece of text?

For example: "I am a watermark" is 12pt Arial Black. How do I calculate
the total number of points it takes up, or inches or millimeters?
 
Top