FormComboBoxControl.labelFontSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);