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

uiAddMText

Previous pageReturn to chapter overviewNext page

Adds a Paragraph of text to the active cell.

bar_dot

 

Synopsis

int uiAddMText( int nLayer, int nPurpose, char *text, char *fontStyle, dbBox* box, 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"

box  -  bounding box for the text.

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