Common.ConvertPointsToPixels Method

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

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

Syntax

C#
public static int ConvertPointsToPixels(
	float dpi,
	float points
)

Parameters

dpi

Type: System..Single

Resolution used for conversion.
points

Type: System..Single

Value in points to convert.

Return Value

The Int32 value in pixels equivalent to the points value.

See Also

Reference