External Interfaces > RealWeb > RealWeb API > Text Formatting > Character Formatting > RWS_FONT

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RWS_FONT (RealWeb) (rws_font.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RWS_FONT


Purpose

Tags the contents of a string to be displayed in a specified font. The font tag attributes are specified in the aClass parameter.

Syntax

RWS_FONT(vString, aClass)

Parameters

vString A string variable containing the text to which the font tags should be applied. On return, the variable contains the modified string.

aClass A dynamic array that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSSClosed stylesheet.
2 SIZE Font size in the range 1 to 7.
3 COLOR Font colour. See table below for details.
4 STYLE CSS font style definition.

Attributes defined in the aClass parameter are applied to the FONT tag.

For information about using aClass, see The aClass Parameter.

The COLOR element in the aClass parameter can be one of the following:

RealityV15.1 (MoTW) Revision 7Comment on this topic