LEADTOOLS Color Conversion (Leadtools.ColorConversion assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
FromDoubleToU8Fixed8Number Method
See Also 
Leadtools.ColorConversion Namespace > IccTools Class : FromDoubleToU8Fixed8Number Method



number
A fractional value.
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
)
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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also