Navigation:  C/C++ Scripting Engine > User Interface Functions >

uiAddText

Previous pageReturn to chapter overviewNext page

Adds Text to the active cell.

bar_dot

 

Synopsis

int uiAddText( int nLayer, int nPurpose, char *text, char *fontStyle, dbPoint* origin, float height, int orient, int alignment )

 

Return Value

Returns 1 if successful, else 0.

 

Parameters

nLayer  -   Layer number to assign

nPurpose  -  Purpose number to assign

text - text string to use

fontStyle - choose the font file to use.  default "txt.fnt"

origin  -  origin point

height - text height in microns

orient - the orientation value to use (default: dbcR0).  For more information on the orient values see: Orientation Values

alignment - text alignment.  For more information on the alignment values see: Alignment Values