Table of Contents

Method PixelToDip

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

PixelToDip(double?)

Converts pixels to device-independent units using specified scale factor.

public readonly SizeD PixelToDip(double? scaleFactor = null)

Parameters

scaleFactor double?

Scale factor. Optional. Default scale factor used if this parameter is not specified.

Returns

SizeD