Sets a window's font, font size, and font enhancements.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static bool SetFont(
	Control ctrl,
	string name,
	int size,
	int enhancement
)

Parameters

ctrl
Type: System.Windows.Forms..::..Control
name
Type: System..::..String
size
Type: System..::..Int32
enhancement
Type: System..::..Int32

See Also