ctext
index
 
Name getWordOffset ( )
Examples
None available
Description Returns the pixel x-offset for the given word index.

Useful, for example, to determine the starting positions of new CTexts after a split() operation}

Syntax
getWordOffset(wordIdx);
Parameters
xPos  
Returns index of character at Xpos or -1 if not on the object
Usage Web & Application
Related