RTextView.AddStyledText


public function AddStyledText

Prototype:

public function AddStyledText(text, szStylename);

Parameters

text
a string containing the text that needs to be added to the view.
szStylename
a string naming the style. The style is the one created by the CreateStyle function.

Description:

Adds text to a text view, linked to a style. The szStylename is a string that is linked to a RTextTag object customizing the text that will be added (color, font, etc). This function is similar to the AddText function, and if the "szStylename" parameter is a non-defined style, its behavior is identical to AddText.

Return value:

Returns null.