This documentation is for the old version. Go to the latest Graphics Mill docs

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

Visual Basic
Public Shared Function ConvertPointsToPixels ( _
	dpi As Single, _
	points As Single _
) As Integer
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