Table of Contents

Method PixelToDip

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

PixelToDip(double?)

Converts this rectangle to rectangle with device-indepdenent units using the specified scale factor.

public readonly RectD PixelToDip(double? scaleFactor = null)

Parameters

scaleFactor double?

Scale factor. Optional. If not specified, the default scale factor is used for the convertion.

Returns

RectD