Scales the specified pixels by converting to form units first and then back to pixels using the new scaling factor.

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 Size Scale(
	Size size,
	Size oldScale,
	Size newScale
)

Parameters

size
Type: System.Drawing..::..Size
oldScale
Type: System.Drawing..::..Size
newScale
Type: System.Drawing..::..Size

Return Value

See Also