guides:o4w:o4w_api:o4wtextstyle

O4WTextStyle routine

Creates a style based on the specified font.

O4WTextStyle( stylename, fontname, bold, italic, align, size )

The function has the following parameters:

ParameterDescription
stylenameThe name of the style.
fontNameFont type, e.g. Times New Roman, Arial New.
boldBoolean. 0 = Normal, 1 = Bold
italicBoolean. 0 = Normal, 1 = Italic
alignmentInteger. 0 = Left, 1 = Center, 3 = Right, -1 = Justify
sizeFont size.

Returns the style information (to use immediately with a display element or input control), and (if <stylename> is not null) defines the style by the stylename for use with one or more elements and input controls.

  • guides/o4w/o4w_api/o4wtextstyle.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1