Table of Contents

Method PixelToDip

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

PixelToDip(double?)

Returns this size (in pixels) converted to device-independent units.

public readonly SizeD PixelToDip(double? scaleFactor = null)

Parameters

scaleFactor double?

Scale factor used for the conversion. Optional. If not specified, default value is used.

Returns

SizeD