ctrlSetFont

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Sets the font of given control.

  • ctrlSetFont sets the main font.
  • ctrlSetFontH1 sets the H1 font of given HTML control
  • ctrlSetFontH1B sets the H1 font of given HTML control
  • and so on

Syntax

Syntax:
Control ctrlSetFont "FontName"

Control ctrlSetFontH1 "FontName"

Control ctrlSetFontH2 "FontName"

Control ctrlSetFontH3 "FontName"

Control ctrlSetFontH4 "FontName"

Control ctrlSetFontH5 "FontName"

Control ctrlSetFontH6 "FontName"

Control ctrlSetFontH1B "FontName"

Control ctrlSetFontH2B "FontName"

Control ctrlSetFontH3B "FontName"

Control ctrlSetFontH4B "FontName"

Control ctrlSetFontH5B "FontName"

Control ctrlSetFontH6B "FontName"


Parameters:
Control
FontName: String
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFont "TahomaB"

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!