Chapter Contents |
Previous |
Next |
Widget Class: _setTitleStyle |
Syntax | |
Details |
Syntax |
objectName._setTitleStyle( justification ); |
objectName._setTitleStyle( justification, verticalOffset ); |
objectName._setTitleStyle( justification, verticalOffset, font ); |
objectName._setTitleStyle( justification,verticalOffset,font, fontScaling ); |
Argument | Type | Use | Description |
---|---|---|---|
justification | Character | Input | specifies the justification: L (left), R (right), C (center) or N (none) |
verticalOffset | Numeric | Input | specifies vertical offset (in pixels) of the title |
font | Numeric | Input | specifies the identifier of an SCL list containing font attributes |
fontScaling | Character | Input | specifies whether to perform font scaling: YES or NO |
Details |
The font list can be created using the fontSel SCL function.
Missing values for justification, vertical offset, or font leave those attributes unchanged.
Example
Set the title on obj1 to 'hello there' and make it right justified and raised 9 pixels above the region outline:
obj1._setBorderTitle('hello there'); obj1._setTitleStyle('R', 9);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.