Leadtools.ColorConversion Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.5.7
FromDoubleToU8Fixed8Number Method
See Also 
Leadtools.ColorConversion Namespace > IccTools Class : FromDoubleToU8Fixed8Number Method




number
A fractional value.
Converts a fractional number into a value that is consistent with the ICC specification format: u8Fixed8Number.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromDoubleToU8Fixed8Number( _
   ByVal number As Double _
) As UShort
Visual Basic (Usage)Copy Code
Dim number As Double
Dim value As UShort
 
value = IccTools.FromDoubleToU8Fixed8Number(number)
C# 
public static ushort FromDoubleToU8Fixed8Number( 
   double number
)
Managed Extensions for C++ 
public: static ushort FromDoubleToU8Fixed8Number( 
   double number
) 
C++/CLI 
public:
static ushort FromDoubleToU8Fixed8Number( 
   double number
) 

Parameters

number
A fractional value.

Return Value

A value that is consistent with the ICC specification format u8Fixed8Number.

Example

For an additional example, refer to IccCurveTagType.

Remarks

The ICC specification format (u8FixedU8Number) consist of a 2-bytes value that have its first bytes as the fixed part of the number, and the second bytes as the fractional part of the number.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also