RTextView.CreateStyle


public function CreateStyle

Prototype:

public function CreateStyle(szStylename);

Parameters

szStylename
a string naming the style which would be needed later for linking to this style (for parameter to AddStyledText for example)

Description:

Creates a new style represented by a RTextTag. If a style with that name already exists, no style will be created.

Return value:

Returns RTextTag representing the new created style. If the style already existed it returns an instance to the RTextTag describing the existing style.