Computes the number of form units based on the number of pixels.

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 float PixelsToFormUnits(
	Control ctrl,
	int pixels,
	bool vertical
)

Parameters

ctrl
Type: System.Windows.Forms..::..Control
pixels
Type: System..::..Int32
vertical
Type: System..::..Boolean

Return Value

See Also