Table of Contents

Method ConvertPoint

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

ConvertPoint(GraphicsUnit, GraphicsUnit, SizeD, PointD, GraphicsType)

Converts PointD value to other GraphicsUnit.

public static PointD ConvertPoint(GraphicsUnit from, GraphicsUnit to, SizeD dpi, PointD value, GraphicsUnitConverter.GraphicsType type = GraphicsType.Undefined)

Parameters

from GraphicsUnit

GraphicsUnit of the value which is converted.

to GraphicsUnit

GraphicsUnit of the result.

dpi SizeD

Number of dots per inch.

value PointD

Value to convert.

type GraphicsUnitConverter.GraphicsType

Type of the graphics.

Returns

PointD