[comp.os.msdos.programmer] How do I determine the size of a text string

barry@gpu.utcs.utoronto.ca (Barry Lay) (05/23/91)

I am using MSC 6.0a to do some graphics programming.  I would like to be able 
to produce strings of text that are centred, right-justified, etc.  If the
font is proportional, how do I determine the actual length of the text so that
I know where to put the beginning?

Barry