Share via


FormComboBoxControl.labelFontSize Method

Sets or returns the font size in points for the label text in a form combo box control.

Syntax

public int labelFontSize([int value])

Run On

Client

Parameters

  • value
    Type: int
    An Integer data type that indicates the font size in points for the label text in a form combo box control; optional.

Return Value

Type: int
An Integer data type value that indicates the label font size in points for the text in a form combo box control.

Examples

The following example shows how to return and set the label font size for a form combo box control.

int nSize; 
 
// The ctrl variable was previously assigned  
// as a form combo box control. 
 
// Retrieve the label font size. 
nSize = ctrl.labelFontSize(); 
 
// Set the label font size. 
ctrl.labelFontSize(16);

See Also

FormComboBoxControl Class

FormComboBoxControl.labelFont Method