Click or drag to resize
UnitPixelToPercent Method
Converts pixels to percents.

Namespace: Telerik.Windows.Documents.Media
Assembly: Telerik.Windows.Documents.Core (in Telerik.Windows.Documents.Core.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public static double PixelToPercent(
	double basePixelSize,
	double value
)

Parameters

basePixelSize
Type: SystemDouble
Base pixel size.
value
Type: SystemDouble
Pixels.

Return Value

Type: Double
Percents.
See Also