Table of Contents

Method PixelToDip

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

PixelToDip(float?)

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

public readonly RectD PixelToDip(float? scaleFactor = null)

Parameters

scaleFactor float?

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

Returns

RectD