xLoc, yLoc- [in] location of the text in pixels relative to
the upper left corner of the control's window

text- [in] string of the text item to be added to
the scene

iText-[out, retval] - Not used in
this update. The return is always NULL

Returns

S_OK in case of
success.

Remarks:

Adds a text string at the location. Use DeviceToGeom
and GeomToDevice to convert to geometric coordinates
in x and y axes. It is recommended to call this method in the end of scene
definition, after geometric objects have been added.

HRESULT DeviceToGeom(int k, int coord, double *val)

Parameters

k-[in] Window coordinate in pixels
from the left edge of the window if coord = 0 and from the top
edge of the window if coord = 1

iText-[out, retval] - Not used in
this update. The return is always NULL

Returns

S_OK in case of
success.

Remarks:

Adds a text string at the location. Use GeomToDevice
and DeviceToGeom
to convert to window coordinates
(pixels). It is recommended to call this method in the end of scene definition,
after geometric objects have been added.