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 size of the font that should be used for 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 text in a form combo box control; optional.
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 form combo box control.
int nSize;
// The ctrl variable was previously assigned
// as a form combo box control.
// Retrieve the font size.
nSize = ctrl.fontSize();
// Set the font size.
ctrl.fontSize(16);