Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the font that is used for the text in the control.
Syntax
public str font([str value])
Run On
Client
Parameters
- value
Type: str
A string value that indicates the font to use for the text in a form tree control.
Return Value
Type: str
The name of the font to use, such as Tahoma or Verdana.
Examples
The following example shows how to return and set the font for a form tree control.
str strFont;
// The ctrl variable was previously assigned
// as a form tree control variable.
// Retrieve the font.
strFont = ctrl.font();
// Set the font.
ctrl.font("Times New Roman");