Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== O4WTextStyle routine ====== ==== Description ==== Creates a style based on the specified font. ==== Syntax ==== O4WTextStyle( stylename, fontname, bold, italic, align, size ) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |stylename|The name of the style.| |fontName|Font type, e.g. Times New Roman, Arial New.| |bold|Boolean. 0 = Normal, 1 = Bold| |italic|Boolean. 0 = Normal, 1 = Italic| |alignment|Integer. 0 = Left, 1 = Center, 3 = Right, -1 = Justify| |size|Font size.|| ==== Remarks ==== 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:19by 127.0.0.1