ImageGear PDF v25.2 - Updated
DoubleToFixed Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDF Class : DoubleToFixed Method
Double value to be converted to fixed.
Converts double value to a PDF fixed value and returns it.
Syntax
'Declaration
 
Public Shared Function DoubleToFixed( _
   ByVal value As Double _
) As Integer
'Usage
 
Dim value As Double
Dim value As Integer
 
value = ImGearPDF.DoubleToFixed(value)
public static int DoubleToFixed( 
   double value
)
public: static int DoubleToFixed( 
   double value
) 
public:
static int DoubleToFixed( 
   double value
) 

Parameters

value
Double value to be converted to fixed.

Return Value

PDF fixed value.
Remarks
The PDF fixed value may have a value from -32767 to 32767. In the case of double value is out of bounds this method does not throw any exception. Instead of this the method will return ImGearPDFFixedValues.NEGATIVE_INFINITY or ImGearPDFFixedValues.POSITIVE_INFINITY accordingly.
See Also

Reference

ImGearPDF Class
ImGearPDF Members

Is this page helpful?
Yes No
Thanks for your feedback.