Foundation > Rogue Wave Script Programming > Using Resources in Rogue Wave Script for Rogue Wave Views > Using Fonts with Rogue Wave Script for Rogue Wave Views
 
Using Fonts with Rogue Wave Script for Rogue Wave Views
In Rogue Wave Script for Rogue Wave® Views, fonts are usually identified by character strings with the following format:
%fontName-fontSize-fontFlags
fontName is the name of the font family, such as Courier, Helvetica or Times. fontSize is an integer that indicates the font size. fontFlags is a series of characters that indicates the font style: B for Bold, I for Italic and U for Underlined. Leave this field empty if you want the font to appear plain.
For example, to change the font of an IlvLabel, type the following:
myLabel.font = "%times-16-I";

Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.