You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

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