Concept Framework 2.0 documentation Contents | Index

RTextView.InsertStyledText

Name Type Access Version Deprecated
InsertStyledText function public version 1.0 no

Prototype:
public function InsertStyledText(position, text, szStylename);

Parameters:
position      the position where the text is inserted (a number starting from 0)
text      the text to insert in the view
szStylename      a string naming the style. The style is the one created by the CreateStyle function.

Description:
Inserts text to a text view at the given position, linked to a style. The szStylename is a string that is linked to a RTextTag object customizing the text that will be inserted (color, font, etc). This function is similar to the InsertText function, and if the "szStylename" parameter is a non-defined style, its behavior is identical to InsertText.

Returns:
This function returns null.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:13 2011 GMT(c)2011 RadGs Software