You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Common.ConvertPointsToPixels Method

Applies to: Graphics Mill Web Controls · Archived documentation

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