Converts from pixels to points. The result of this method takes into account the current screen resolution.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public static float PixelsToPoints(
	float pixels
)
Visual Basic
Public Shared Function PixelsToPoints ( 
	pixels As Single
) As Single
Visual C++
public:
static float PixelsToPoints(
	float pixels
)

Parameters

pixels
Type: System..::..Single
The value in pixels to convert.

Return Value

Type: Single
The value in points.

See Also