.NET Framework Class Library

UnitsConverter.ConvertFromPixels Method

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core Namespace > UnitsConverter Class > UnitsConverter Methods >

.NET Framework Class Library

UnitsConverter.ConvertFromPixels Method

Namespace: Gnostice.Core

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

Public Shared Function ConvertFromPixels ( _
 number As Single, _
 inputDpi As Single, _
 toUnit As MeasurementUnit, _
 Optional outputDpi As Single = 96F _
As Single

C#

public static float ConvertFromPixels(
 float number,
 float inputDpi,
 MeasurementUnit toUnit,
 float outputDpi = 96f
)

Visual C++

public:
static float ConvertFromPixels(
 float number,
 float inputDpi,
 MeasurementUnit toUnit,
 float outputDpi = 96f
)

Parameters

number

Type: System.Single

inputDpi

Type: System.Single

toUnit

Type: Gnostice.Core.Graphics.MeasurementUnit

outputDpi (Optional)

Type: System.Single

See Also

UnitsConverter Class

UnitsConverter Members

Gnostice.Core Namespace