Table of Contents

Method PixelToDip

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

PixelToDip(float?)

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

public readonly SizeD PixelToDip(float? scaleFactor = null)

Parameters

scaleFactor float?

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

Returns

SizeD