←Select platform

FromDoubleTo2bFixed2bNumber Method

Summary
Converts a fractional number into a value that is consistent with any of the ICC specification formats: u16FixedU16Number or u1Fixed15Number.
Syntax
C#
C++
public static int FromDoubleTo2bFixed2bNumber( 
   double number 
) 
vb[VB Syntax] 
  
Public Shared Function FromDoubleTo2bFixed2bNumber( _ 
   ByVal _number_ As Double _ 
) As Integer 
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.

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.
Example

For an additional example, refer to IccParametricCurveTagType.

Requirements

Target Platforms

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ColorConversion Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.