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 font size that is used for the text in the control.
Syntax
public int fontSize([int value])
Run On
Client
Parameters
- value
Type: int
An Integer data type that indicates the font size, in points, for the text in a form tree control.
Return Value
Type: int
The height of the font in points.
Examples
The following example shows how to return and set the font size for a control.
int nSize;
// The ctrl variable was previously assigned
// as a form tree control.
// Retrieve the font size.
nSize = ctrl.fontSize();
// Set the font size.
ctrl.fontSize(16);