.NET Framework Class Library

UnitsConverter.ConvertToPoints 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.ConvertToPoints Method

Namespace: Gnostice.Core

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

Syntax

Visual Basic

Public Shared Function ConvertToPoints ( _
 number As Single, _
 fromUnit As MeasurementUnit, _
 Optional systemDpi As Nullable(Of Single) = Nothing _
As Single

C#

public static float ConvertToPoints(
 float number,
 MeasurementUnit fromUnit,
 Nullable<floatsystemDpi = null
)

Visual C++

public:
static float ConvertToPoints(
 float number,
 MeasurementUnit fromUnit,
 Nullable<floatsystemDpi = nullptr
)

Parameters

number

Type: System.Single

fromUnit

Type: Gnostice.Core.Graphics.MeasurementUnit

systemDpi (Optional)

Type: System.Nullable(Single)

See Also

UnitsConverter Class

UnitsConverter Members

Gnostice.Core Namespace