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



number
A fractional value.
number
A fractional value.
Converts a fractional number into a value that is consistent with any of the ICC specification formats: u16FixedU16Number or u1Fixed15Number.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromDoubleTo2bFixed2bNumber( _
   ByVal number As Double _
) As Integer
Visual Basic (Usage)Copy Code
Dim number As Double
Dim value As Integer
 
value = IccTools.FromDoubleTo2bFixed2bNumber(number)
C# 
public static int FromDoubleTo2bFixed2bNumber( 
   double number
)
C++/CLI 
public:
static int FromDoubleTo2bFixed2bNumber( 
   double number
) 

Parameters

number
A fractional value.

Return Value

A value that is consistent with any of the ICC specification formats: u16FixedU16Number or u1Fixed15Number.

Example

For an additional example, refer to IccParametricCurveTagType.

Remarks

The ICC specification formats (u16FixedU16Number and u1Fixed15Number) consist of a 4-bytes value that have its first 2-bytes as the fixed part of the number, and the second 2-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