Method PixelToInch
PixelToInch(int, float?)
public static float PixelToInch(int value, float? scaleFactor = null)
Parameters
valueintValue in pixels to convert.
scaleFactorfloat?Scale factor used for the conversion. Optional. If not specified, default value is used.
Returns
- float
Converted value.
PixelToInch(SizeI, float?)
public static SizeD PixelToInch(SizeI value, float? scaleFactor = null)
Parameters
valueSizeIValue in pixels to convert.
scaleFactorfloat?Scale factor used for the conversion. Optional. If not specified, default value is used.
Returns
- SizeD
Converted value (inches).