Common.ConvertPixelsToPoints Method (Single, Int32)

Converts a specified value in pixels to points using the specified dpi.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

C#
public static float ConvertPixelsToPoints(
	float dpi,
	int pixels
)

Parameters

dpi

Type: System..Single

Resolution used for conversion.
pixels

Type: System..Int32

Number in pixels to convert.

Return Value

The Single value in points equivalent to the pixels value.

See Also

Reference