Jaa


FormTreeControl.fontSize Method

Definition

Overloads

fontSize()

Gets or sets the font size that is used for the text in the control.

fontSize(Int32)

fontSize()

Gets or sets the font size that is used for the text in the control.

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

Returns

The height of the font in points.

Remarks

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

Applies to

fontSize(Int32)

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

Parameters

_value
Int32

An Integer data type that indicates the font size, in points, for the text in a form tree control.

Returns

Applies to