Displaying Text
Function Introduced:
The function
ProGraphicsTextDisplay() places text, specified as a wide string, at a position specified in screen coordinates. Therefore, if you want to add text to a particular position on the solid, you must transform the solid coordinates into screen coordinates by using the view matrix.
Like the graphics polylines, arcs, and so on (added by the functions described in the section
Displaying Graphics), the text items drawn by
ProGraphicsTextDisplay() are not known to , and therefore are not redrawn when you use the
Repaint command. Use the notify or display list functions to tell about the items.
|
Note:
|
These points are in the coordinate system of the current object. If the current object is a part, the points must be in the coordinate system of the part. If the current object is an assembly, the points must be in the coordinate system of the assembly.
|
See the section
Display Lists for more information on the display list functions. To add permanent text to a drawing (for example, a drawing note), see the section
Drawings.
Parent topic