wp782fa982.png
wp135453fd.png
wp62a98648.png

< Integer > = GET PTEXT HEIGHT < STRING >

< Integer > = GET PTEXT WIDTH < STRING >

GET PTEXT HEIGHT returns the height of a text string in pixels, for the current printer using the current font settings.

 

GET PTEXT WIDTH returns the width in pixels of a text string, for the current printer using the current font settings.

 

You can use these two commands to help you to calculate where a piece of text should be placed on the printed page.

 

See also unit conversion commands.