Open this page in the API Guide

PaperUnitHelper.PixelsTo Method

Converts a value in pixels to another value.

Namespace:  Dundas.BI.Print
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public static double PixelsTo(
	double value,
	PaperUnit unit
)

Parameters

value
Type: System.Double
The value in pixels.
unit
Type: Dundas.BI.Print.PaperUnit
The unit to convert to.

Return Value

Type: Double
The value in unit.
See Also