Table of Contents

Method PixelToDip

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

PixelToDip(SizeI)

Converts SizeI to device-independent units.

SizeD PixelToDip(SizeI value)

Parameters

value SizeI

SizeI in pixels.

Returns

SizeD

PixelToDip(PointI)

Converts PointI to device-independent units.

PointD PixelToDip(PointI value)

Parameters

value PointI

PointI in pixels.

Returns

PointD

PixelToDip(RectI)

Converts RectI to device-independent units.

RectD PixelToDip(RectI value)

Parameters

value RectI

RectI in pixels.

Returns

RectD

PixelToDip(int)

Converts pixels to device-independent units.

double PixelToDip(int value)

Parameters

value int

Value in pixels.

Returns

double