rtfCreateTextStyle

DESCRIPTION:

Creates an rtf style.

USAGE:

rtfCreateTextStyle(fontnum = 0, fontsize = 10, align = "l", backcolor = -1, 
                                forecolor =-1, bold = F, italic = F)

ARGUMENTS:

fontnum
The number of the font to be used from the .fontMap object. The default is 0.
fontsize
The font size in points to be used. The defaul is 10.
align
The alignment setting sets the alignment of text. "l" for left, "r" for right and "c" for center. The default is "l" or left.
backcolor
backcolor is the background color for the test from the color table. Use -1 for no color. The default is 1.
forecolor
Tforecolor is the foreground color for text from the color table. Use -1 for no color. The default is 1.
bold
This is a binary (T/F) indicator to use bold text. The default is F.
italic
This is a binary (T/F) indicator to use italicized text. The default is F.

VALUE:

This function returns a string containing the created style text.

AUTHOR(S):

TIBCO Software Inc.

EXAMPLES:

## use font 1 arial, fontsize=10
### create a red text style
textStyle <- rtfCreateTextStyle(fontnum=1, fontsize=10, forecolor=2)