"setFont"

Sets the font for an item.

Synopsis

shape.setFont(string id, int column, string font);

Parameters

Parameter Description
shape Name of the object
Id The ID of the item
column The number of the column
font The font that should be set.

Description

Sets the font for an item.

Example

The following example sets the font for the item "PART1" to Arial Black.

main()
{
  TREE1.setFont("PART1",0," Arial Black,-1,11,5,87,0,0,0,0,0");
}
Figure 1. The Font of the Item "WHOLE_NAME" was set to Arial Black

Assignment

Tree widget