Table of Contents

Method PixelFromDip

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

PixelFromDip(double)

Converts device-independent units to pixels.

public int PixelFromDip(double value)

Parameters

value double

Value in device-independent units.

Returns

int

PixelFromDip(SizeD)

Converts device-independent units to pixels.

public SizeI PixelFromDip(SizeD value)

Parameters

value SizeD

Value in device-independent units.

Returns

SizeI

PixelFromDip(PointD)

Converts device-independent units to pixels.

public PointI PixelFromDip(PointD value)

Parameters

value PointD

Value in device-independent units.

Returns

PointI

PixelFromDip(RectD)

Converts device-independent units to pixels.

public RectI PixelFromDip(RectD value)

Parameters

value RectD

Value in device-independent units.

Returns

RectI