Table of Contents

Method PixelToDip

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

PixelToDip(int)

Converts pixels to device-independent units.

public double PixelToDip(int value)

Parameters

value int

Value in pixels.

Returns

double

PixelToDip(SizeI)

Converts SizeI to device-independent units.

public SizeD PixelToDip(SizeI value)

Parameters

value SizeI

SizeI in pixels.

Returns

SizeD

PixelToDip(PointI)

Converts PointI to device-independent units.

public PointD PixelToDip(PointI value)

Parameters

value PointI

PointI in pixels.

Returns

PointD

PixelToDip(RectI)

Converts RectI to device-independent units.

public RectD PixelToDip(RectI value)

Parameters

value RectI

RectI in pixels.

Returns

RectD