←Select platform

FromDoubleToU8Fixed8Number Method

Summary
Converts a fractional number into a value that is consistent with the ICC specification format: u8Fixed8Number.
Syntax
C#
VB
C++
public static ushort FromDoubleToU8Fixed8Number( 
   double number 
) 
  
Public Shared Function FromDoubleToU8Fixed8Number( _ 
   ByVal number As Double _ 
) As UShort 
public: 
static ushort FromDoubleToU8Fixed8Number(  
   double number 
)  

Parameters

number
A fractional value.

Return Value

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

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

For an additional example, refer to IccCurveTagType.

Requirements

Target Platforms

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

Leadtools.ColorConversion Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.