Table of Contents

Method DefaultConvert

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

DefaultConvert(GraphicsUnit, GraphicsUnit, double, double, GraphicsType)

Default convertion method.

public static double DefaultConvert(GraphicsUnit from, GraphicsUnit to, double dpi, double nSrc, GraphicsUnitConverter.GraphicsType type = GraphicsType.Undefined)

Parameters

from GraphicsUnit

GraphicsUnit of the value which is converted.

to GraphicsUnit

GraphicsUnit of the result.

dpi double

Number of dots per inch.

nSrc double

Value to convert.

type GraphicsUnitConverter.GraphicsType

Type of the graphics.

Returns

double