FormComboBoxControl.labelFontSize Method

Definition

Overloads

labelFontSize(Int32)
labelFontSize()

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

labelFontSize(Int32)

public:
 virtual int labelFontSize(int _value);
public virtual int labelFontSize (int _value);
abstract member labelFontSize : int -> int
override this.labelFontSize : int -> int
Public Overridable Function labelFontSize (_value As Integer) As Integer

Parameters

_value
Int32

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

Returns

Applies to

labelFontSize()

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

public:
 virtual int labelFontSize();
public virtual int labelFontSize ();
abstract member labelFontSize : unit -> int
override this.labelFontSize : unit -> int
Public Overridable Function labelFontSize () As Integer

Returns

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

Remarks

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);

Applies to