FormTreeControl.fontSize Method [AX 2012]

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

public int fontSize([int value])

Run On

Client

Parameters

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

Return Value

Type: int
The height of the font in points.

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

Community Additions

ADD
Show: